login
A028737
Nonsquares mod 24.
1
2, 3, 5, 6, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23
OFFSET
1,1
COMMENTS
The first 18 terms of A092206. - R. J. Mathar, Mar 21 2023
MATHEMATICA
Complement[Range[0, 23], PowerMod[Range[0, 23], 2, 24]] (* Alonso del Arte, Nov 24 2019 *)
PROG
(Scala) val squaresMod24 = (0 to 23).map(n => n * n).map(_ % 24)
(0 to 23).diff(squaresMod24) // Alonso del Arte, Nov 24 2019
CROSSREFS
Cf. A010386.
Sequence in context: A307295 A047587 A285420 * A371731 A109423 A028801
KEYWORD
nonn,fini,full,easy
STATUS
approved