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

A028729
Nonsquares mod 16.
0
2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15
OFFSET
1,1
COMMENTS
The elements of A028809 smaller than 16, because 96 is a multiple of 16. - R. J. Mathar, Oct 23 2008
MATHEMATICA
Complement[Range[15], Union[PowerMod[Range[15], 2, 16]]] (* Harvey P. Dale, Apr 30 2011 *)
PROG
(PARI) select(n->!issquare(Mod(n, 16)), [2..15]) \\ Charles R Greathouse IV, Aug 28 2016
CROSSREFS
Sequence in context: A039122 A355547 A031975 * A213367 A175084 A171519
KEYWORD
nonn,fini,full
AUTHOR
STATUS
approved