A366526 Prime powers (A246655) q such that 2 is a nonzero square in the finite field F_q.
7, 9, 17, 23, 25, 31, 41, 47, 49, 71, 73, 79, 81, 89, 97, 103, 113, 121, 127, 137, 151, 167, 169, 191, 193, 199, 223, 233, 239, 241, 257, 263, 271, 281, 289, 311, 313, 337, 343, 353, 359, 361, 367, 383, 401, 409, 431, 433, 439, 449, 457, 463, 479, 487, 503, 521, 529
Offset: 1
Examples
9 is a term since 2 = -1 = (+-i)^2 in F_9 = F_3(i).
Links
- Jianing Song, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
PARI
isA366526(n) = isprimepower(n) && (n%8==1 || n%8==7)
Comments