|
|
A010454
|
|
Squares mod 93.
|
|
1
|
|
|
0, 1, 4, 7, 9, 10, 16, 18, 19, 25, 28, 31, 33, 36, 39, 40, 45, 49, 51, 63, 64, 66, 67, 69, 70, 72, 76, 78, 81, 82, 87, 90
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
x^2 = 10 mod 93 has x = 14, 17, 76, 79 for solutions, hence 10 is in the sequence.
x^2 = 11 mod 93 has no solutions, hence 11 is not in the sequence.
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) for (n=0, 92, if (issquare(Mod(n, 93)), print1(n, ", "))) \\ Michel Marcus, Apr 01 2017
(Scala) (1 to 93).map(n => n * n % 93).toSet.toSeq.sorted // Alonso del Arte, Dec 31 2019
(Magma) [n: n in [0..92] | IsSquare(R! n) where R:= ResidueClassRing(93)]; // Vincenzo Librandi, Jan 01 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|