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

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010407 Squares mod 46. 1
0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 16, 18, 23, 24, 25, 26, 27, 29, 31, 32, 35, 36, 39, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

MATHEMATICA

Union[PowerMod[Range[46], 2, 46]] (* Alonso del Arte, Dec 23 2019 *)

PROG

(Sage) [quadratic_residues(46)] # Zerinvary Lajos, May 24 2009

(Scala) (1 to 46).map(n => (n * n) % 46).toSet.toSeq.sorted // Alonso del Arte, Dec 23 2019

CROSSREFS

Cf. A028759.

Sequence in context: A095037 A191284 A071403 * A035240 A278580 A028929

Adjacent sequences:  A010404 A010405 A010406 * A010408 A010409 A010410

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 December 7 19:54 EST 2021. Contains 349585 sequences. (Running on oeis4.)