The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A070621 a(n) = n^5 mod 38. 1
0, 1, 32, 15, 36, 9, 24, 11, 12, 35, 22, 7, 8, 33, 10, 21, 4, 25, 18, 19, 20, 13, 34, 17, 28, 5, 30, 31, 16, 3, 26, 27, 14, 29, 2, 23, 6, 37, 0, 1, 32, 15, 36, 9, 24, 11, 12, 35, 22, 7, 8, 33, 10, 21, 4, 25, 18, 19, 20, 13, 34, 17, 28, 5, 30, 31, 16, 3, 26, 27, 14, 29, 2, 23, 6, 37 (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). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 100], 5, 38] (* Vincenzo Librandi, Jun 15 2016 *)
PROG
(Sage) [power_mod(n, 5, 38)for n in range(0, 76)] # - Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%38 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [Modexp(n, 5, 38): n in [0..80]]; // Vincenzo Librandi, Jun 15 2016
CROSSREFS
Sequence in context: A303318 A097614 A069892 * A234967 A033352 A364904
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 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 29 13:50 EDT 2024. Contains 372949 sequences. (Running on oeis4.)