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!)
A028744 Nonsquares mod 31. 1
3, 6, 11, 12, 13, 15, 17, 21, 22, 23, 24, 26, 27, 29, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

Complement[Range[0, 30], PowerMod[Range[31], 2, 31]] (* Alonso del Arte, Dec 31 2019 *)

PROG

(Scala) (0 to 30).diff((1 to 31).map(n => n * n % 31)) // Alonso del Arte, Dec 31 2019

CROSSREFS

Cf. A010392.

Sequence in context: A102889 A183543 A256108 * A028775 A223910 A022155

Adjacent sequences:  A028741 A028742 A028743 * A028745 A028746 A028747

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 August 10 04:38 EDT 2020. Contains 336368 sequences. (Running on oeis4.)