login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A028737 Nonsquares mod 24. 1
2, 3, 5, 6, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..18.

MATHEMATICA

Complement[Range[0, 23], PowerMod[Range[0, 23], 2, 24]] (* Alonso del Arte, Nov 24 2019 *)

PROG

(Scala) val squaresMod24 = (0 to 23).map(n => n * n).map(_ % 24)

(0 to 23).diff(squaresMod24) // Alonso del Arte, Nov 24 2019

CROSSREFS

Cf. A010386.

Sequence in context: A307295 A047587 A285420 * A109423 A028801 A239161

Adjacent sequences:  A028734 A028735 A028736 * A028738 A028739 A028740

KEYWORD

nonn,fini,full,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 25 13:47 EST 2021. Contains 341609 sequences. (Running on oeis4.)