OFFSET
1,1
COMMENTS
a(n) is the largest k such that 2 is a k-th power in the finite field F_{2^p-1}(i), where i^2 = -1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..15
EXAMPLE
In F_9 = F_3(i), we have 2 = (1+i)^2.
Jn F_49 = F_7(i), we have 2 = (3+i)^16.
In F_961 = F_31(i), we have 2 = (5+4*i)^192.
PROG
(PARI) A366818(lim) = my(q); forprime(p=2, lim, if(isprime(q=2^p-1), print1((q^2-1)/p, ", ")))
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Jianing Song, Oct 24 2023
STATUS
approved