[go: up one dir, main page]

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”).

A028735
Nonsquares mod 22.
1
2, 6, 7, 8, 10, 13, 17, 18, 19, 21
OFFSET
1,1
MATHEMATICA
Complement[Range[0, 21], PowerMod[Range[22], 2, 22]] (* Alonso del Arte, Dec 22 2019 *)
PROG
(Scala) (0 to 21).diff((1 to 22).map(n => (n * n) % 22)) // Alonso del Arte, Dec 22 2019
CROSSREFS
Cf. A010384.
Sequence in context: A028774 A355160 A343719 * A267541 A325465 A047553
KEYWORD
nonn,fini,full,easy
EXTENSIONS
Incorrect term 11 removed by Alonso del Arte, Dec 22 2019
STATUS
approved