login
A028771
Nonsquares mod 58.
1
2, 3, 8, 10, 11, 12, 14, 15, 17, 18, 19, 21, 26, 27, 31, 32, 37, 39, 40, 41, 43, 44, 46, 47, 48, 50, 55, 56
OFFSET
1,1
MATHEMATICA
Complement[Range[0, 57], PowerMod[Range[58], 2, 58]] (* Alonso del Arte, Nov 29 2019 *)
PROG
(Scala) val squaresMod58 = (1 to 58).map(n => n * n).map(_ % 58)
(0 to 57).diff(squaresMod58) // Alonso del Arte, Nov 29 2019
CROSSREFS
Cf. A010419.
Sequence in context: A247580 A345352 A028742 * A023709 A317539 A047474
KEYWORD
nonn,fini,full
EXTENSIONS
Incorrect term 29 removed by Alonso del Arte, Nov 29 2019
STATUS
approved