OFFSET
1,1
COMMENTS
Prime powers q that are congruent to 1 or 3 modulo 8 (see A366526).
Odd prime powers q such that (-2)^((q-1)/2) = 1 in F_q.
Prime powers q such that x^2 + 2 splits into different linear factors in F_q[x].
Contains the powers of primes congruent to 1 or 3 modulo 8 and the even powers of primes congruent to 5 or 7 modulo 8.
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
EXAMPLE
49 is a term since -2 = -9 = (+-3i)^2 in F_49 = F_7(i).
PROG
(PARI) isA365082(n) = isprimepower(n) && (n%8==1 || n%8==3)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jianing Song, Oct 22 2023
STATUS
approved