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!)
A028738 Nonsquares mod 25. 2
2, 3, 5, 7, 8, 10, 12, 13, 15, 17, 18, 20, 22, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

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

PROG

(Scala) val squaresMod25 = (0 to 24).map(n => n * n).map(_ % 25)

(0 to 24).diff(squaresMod25) // Alonso del Arte, Nov 25 2019

CROSSREFS

Cf. A010387.

Sequence in context: A077164 A062132 A003258 * A047222 A028763 A285977

Adjacent sequences:  A028735 A028736 A028737 * A028739 A028740 A028741

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 April 22 21:05 EDT 2021. Contains 343177 sequences. (Running on oeis4.)