login
The OEIS is supported by the many generous donors to the OEIS 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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070460 a(n) = n^2 mod 38. 1
0, 1, 4, 9, 16, 25, 36, 11, 26, 5, 24, 7, 30, 17, 6, 35, 28, 23, 20, 19, 20, 23, 28, 35, 6, 17, 30, 7, 24, 5, 26, 11, 36, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 36, 11, 26, 5, 24, 7, 30, 17, 6, 35, 28, 23, 20, 19, 20, 23, 28, 35, 6, 17, 30, 7, 24, 5, 26, 11, 36, 25, 16, 9, 4, 1, 0, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = a(n-38). - G. C. Greubel, Mar 25 2016

MATHEMATICA

Table[Mod[n^2, 38], {n, 0, 200}] (* Vladimir Joseph Stephan Orlovsky, Apr 27 2011 *)

PowerMod[Range[0, 80], 2, 38] (* Harvey P. Dale, Feb 10 2015 *)

PROG

(PARI) a(n)=n^2%38 \\ Charles R Greathouse IV, Apr 06 2016

CROSSREFS

Cf. A070456, A070457.

Sequence in context: A070463 A070462 A070461 * A070459 A292676 A241971

Adjacent sequences: A070457 A070458 A070459 * A070461 A070462 A070463

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, May 12 2002

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 3 20:52 EST 2022. Contains 358543 sequences. (Running on oeis4.)