I’m surprised that I haven’t come across this concept before but it was brought to my attention via one of the properties of 26701, my diurnal age on Wednesday, May 11th 2022. It is a member of OEIS A061334: primes with 22 as smallest positive primitive root. The initial members of this sequence are:
The question that I naturally asked was: what is a primitive root?
This YouTube video provides a good explanation and Figure 1 shows a screenshot of the author’s simplified definition:
Using this definition, it’s easy enough to show that 22 is the smallest primitive root of 26701 (permalink plus see SageMathCell verification below).
xxxxxxxxxx
p=26701
for n in [2..(p-1)]:
S=[]
for x in [1..(p-1)]:
y=n^x%p
S.append(y)
if len(S)==len(Set(S)):
print("smallest primitive root of",p,"is",n)
print("there is a total of",euler_phi(euler_phi(p)),"primitive roots")
break
Some other larger primitive roots are 26, 29, 38, 47, 59 and 66. In fact, as the calculation above shows, there are a total of ϕ(ϕ(26701)=7040 primitive roots where ϕ is the euler totient function. This YouTube link to Michael Penn’s video explains why this is so. What is less apparent however, is the usefulness of finding the primitive root of a prime number. I should investigate this further at some point but I’m still on holidays and my mind in holiday mode.
No comments:
Post a Comment