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

A028795
Nonsquares mod 82.
2
3, 6, 7, 11, 12, 13, 14, 15, 17, 19, 22, 24, 26, 27, 28, 29, 30, 34, 35, 38, 44, 47, 48, 52, 53, 54, 55, 56, 58, 60, 63, 65, 67, 68, 69, 70, 71, 75, 76, 79
OFFSET
1,1
MATHEMATICA
Complement[Range[0, 81], PowerMod[Range[82], 2, 82]] (* Alonso del Arte, May 01 2020 *)
PROG
(PARI) for(k=0, 82, if(!issquare(Mod(k, 82)), print1(k, ", "))) \\ Hugo Pfoertner, Nov 29 2019
(Scala) (0 to 81).diff((1 to 82).map(n => n * n % 82)) // Alonso del Arte, May 01 2020
CROSSREFS
Sequence in context: A164557 A292608 A028754 * A004780 A359266 A292046
KEYWORD
nonn,fini,full,easy
AUTHOR
EXTENSIONS
Incorrect term 41 removed by Alonso del Arte, Nov 29 2019
STATUS
approved