|
|
A136803
|
|
Squares mod 257.
|
|
12
|
|
|
0, 1, 2, 4, 8, 9, 11, 13, 15, 16, 17, 18, 21, 22, 23, 25, 26, 29, 30, 31, 32, 34, 35, 36, 42, 44, 46, 49, 50, 52, 57, 58, 59, 60, 61, 62, 64, 67, 68, 70, 72, 73, 79, 81, 84, 88, 89, 92, 95, 98, 99, 100, 104, 111, 113, 114, 116, 117, 118, 120, 121, 122, 123, 124
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Because 257 is a Fermat prime, the complement of this set, A136804, is the set of primitive roots (mod 257).
|
|
LINKS
|
|
|
FORMULA
|
a(n) + a(131-n) = 257 for n>1.
|
|
MAPLE
|
|
|
MATHEMATICA
|
p = 257; Select[Range[0, p - 1], JacobiSymbol[ #, p] == 1 &] (* T. D. Noe *)
|
|
PROG
|
(PARI) for (n=0, 256, if (issquare(Mod(n, 257)), print1(n, ", "))) \\ Michel Marcus, Mar 12 2017
(PARI) lift(select(issquare, Mod([0..256], 257))) \\ M. F. Hasler, Nov 15 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
fini,full,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|