login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A028757
Nonsquares mod 44.
1
2, 3, 6, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 34, 35, 38, 39, 40, 41, 42, 43
OFFSET
1,1
MATHEMATICA
Complement[Range[0, 43], PowerMod[Range[44], 2, 44]] (* Alonso del Arte, Dec 22 2019 *)
PROG
(Scala) (0 to 43).diff((1 to 44).map(n => (n * n) % 44)) // Alonso del Arte, Dec 22 2019
CROSSREFS
Cf. A010405.
Sequence in context: A028789 A038100 A299407 * A184798 A332021 A047560
KEYWORD
nonn,fini,full,easy
STATUS
approved