login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
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
Sequence in context: A070463 A070462 A070461 * A070459 A292676 A241971
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 May 1 03:54 EDT 2024. Contains 372148 sequences. (Running on oeis4.)