Gauss's Algorithm
In[1]:=
Out[1]=
In[2]:=
Out[2]=
In[3]:=
Out[3]=
Step (1)
In[4]:=
Out[4]=
In[5]:=
Out[5]=
In[6]:=
Out[6]=
In[7]:=
Out[7]=
The order of StringTake[ , -1 + System`Convert`HTMLDump`pos1$1281]
Step (2)
We must choose StringTake[ , -1 + System`Convert`HTMLDump`pos1$1601]
In[8]:=
Out[8]=
These are the candidates for StringTake[ , -1 + System`Convert`HTMLDump`pos1$2026]
In[9]:=
Out[9]=
Choose StringTake[ , -1 + System`Convert`HTMLDump`pos1$2490]
In[10]:=
Out[10]=
Find the multiplicative order of StringTake[ , -1 + System`Convert`HTMLDump`pos1$2688]
In[11]:=
Out[11]=
Since the multiplicative order of StringTake[ , -1 + System`Convert`HTMLDump`pos1$2890]
In[12]:=
Out[12]=
... we must calculate StringTake[ , -1 + System`Convert`HTMLDump`pos1$3145]
In[13]:=
Out[13]=
In[14]:=
Out[14]=
In[15]:=
Out[15]=
In[16]:=
Out[16]=
In[17]:=
Out[17]=
Calculate
.
In[18]:=
Out[18]=
Calculate
.
In[19]:=
Out[19]=
In[20]:=
Out[20]=
If StringTake[ , -1 + System`Convert`HTMLDump`pos1$4367]
In[21]:=
Out[21]=
Step (3)
In[22]:=
Out[22]=
In[23]:=
Out[23]=
Step (2.1)
We must choose StringTake[ , -1 + System`Convert`HTMLDump`pos1$4951]
In[24]:=
Out[24]=
These are the candidates for StringTake[ , -1 + System`Convert`HTMLDump`pos1$5484]
In[25]:=
Out[25]=
Choose StringTake[ , -1 + System`Convert`HTMLDump`pos1$5840]
In[26]:=
Out[26]=
Find the multiplicative order of StringTake[ , -1 + System`Convert`HTMLDump`pos1$6038]
In[27]:=
Out[27]=
Since the multiplicative order of StringTake[ , -1 + System`Convert`HTMLDump`pos1$6240]
In[28]:=
Out[28]=
... we have found a primitive root.
Created by Mathematica (November 10, 2004)