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

A028794
Nonsquares mod 81.
1
2, 3, 5, 6, 8, 11, 12, 14, 15, 17, 18, 20, 21, 23, 24, 26, 27, 29, 30, 32, 33, 35, 38, 39, 41, 42, 44, 45, 47, 48, 50, 51, 53, 54, 56, 57, 59, 60, 62, 65, 66, 68, 69, 71, 72, 74, 75, 77, 78, 80
OFFSET
1,1
MATHEMATICA
Complement[Range[0, 80], PowerMod[Range[81], 2, 81]] (* Alonso del Arte, Dec 27 2019 *)
PROG
(Scala) (0 to 80).diff((1 to 81).map(n => (n * n) % 81)) // Alonso del Arte, Dec 27 2019
CROSSREFS
Cf. A010442.
Sequence in context: A351807 A028731 A028740 * A028966 A028767 A268226
KEYWORD
nonn,fini,full,easy
STATUS
approved