Questions tagged [abstract-algebra]
Abstract algebra is the study of algebraic structures, including groups, rings, fields, vector spaces, and the like.
76 questions
15
votes
8
answers
1k
views
The monoids with three elements
Objective
There are seven monoids with three elements, up to isomorphism. Give implementations to all of them, such that their domains are all the same, and that they have the same identity element.
...
9
votes
4
answers
757
views
Find a primitive polynomial
Objective
Given a prime number \$p\$ and an integer \$n \geq 2\$, find a degree-\$n\$ primitive polynomial modulo \$p\$.
Mathematical explanation
When we perform "modular arithmetic" over ...
12
votes
9
answers
889
views
Output the symmetric inverse semigroup
The symmetric inverse semigroup is a very important object in the study of semigroups, for a number of reasons, but most obviously due to the Wagner-Preston theorem. In brief, for any set \$X\$, the ...
20
votes
6
answers
1k
views
Free Kei Friday
A kei (圭) is an algebraic structure that abstracts the idea of mirror reflections.
The kei is given as a set of mirrors \$X\$ and a closed reflection operation \$(\rhd) : X\times X\rightarrow X\$. We ...
137
votes
11
answers
15k
views
(-a) × (-a) = a × a
We all know that \$(-a) \times (-a) = a \times a\$ (hopefully), but can you prove it?
Your task is to prove this fact using the ring axioms. What are the ring axioms? The ring axioms are a list of ...
30
votes
46
answers
3k
views
How does the square end?
In base-10, all perfect squares end in \$0\$, \$1\$, \$4\$, \$5\$, \$6\$, or \$9\$.
In base-16, all perfect squares end in \$0\$, \$1\$, \$4\$, or \$9\$.
Nilknarf describes why this is and how to work ...
9
votes
2
answers
232
views
Primitive words
Given a list of values, 1, 2, -1, or -2, we will allow the following simple moves:
Remove adjacent values which are negatives of each other. e.g. ...
12
votes
18
answers
717
views
Normal Subgroups of \$S_4\$
Objective
Given a permutation of 4 distinct items, classify the permutation by the normal subgroup(s) it belongs.
Input/Output Format
You gotta choose the followings as the hyperparameters for your ...
14
votes
5
answers
550
views
Generate a subgroup of a free group
In group theory, the free group with \$n\$ generators can be obtained by taking \$n\$ distinct symbols (let's call them \$a, b, c ...\$ etc), along with their inverses \$ a^{-1},b^{-1},c^{-1} ...\$ . ...
8
votes
4
answers
432
views
Determine if two trees are equal in the free quandle
To start we are going to define an "\$\operatorname{FBM}\$" as follows:
Every integer is an \$\operatorname{FBM}\$.
If \$a\$ and \$b\$ are \$\operatorname{FBM}\$s, then \$a \lhd b\$ is an \$...
17
votes
2
answers
706
views
Construct this point
Given a constructible point \$(x, y) \in \mathbb R^2\$, output the steps required to construct \$(x, y)\$
Constructing a point
Consider the following "construction" of a point \$(\alpha, \...
24
votes
25
answers
2k
views
Multiply elements of the dihedral group
This is a copy cat question of Simplify ijk string applied to the other nonabelian group of order 8. See also Dihedral group composition with custom labels.
Challenge
Given a string made of ...
7
votes
1
answer
361
views
Solving the high school algebra problem
We learned many identities involving addition, multiplication and exponentiation in highschool, for example:
$$ \begin{aligned}
(a+b)c &= ac + bc \\
(a b)^c &= a^c b^c \\
(a^b)^c &= a^{bc}
...
27
votes
27
answers
4k
views
Modular multiplicative inverse
Your task is to given two integer numbers, a and b calculate the modular multiplicative inverse of a modulo b, if it exists.
...
6
votes
2
answers
403
views
Count the symmetries
Find the order (size) of the symmetry group of a finite set of integer points in d-dimensional space.
Input
You will be given the coordinates of a finite set of points in d-dimensional space, in any ...