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!)
A070623 a(n) = n^5 mod 40. 0
0, 1, 32, 3, 24, 5, 16, 7, 8, 9, 0, 11, 32, 13, 24, 15, 16, 17, 8, 19, 0, 21, 32, 23, 24, 25, 16, 27, 8, 29, 0, 31, 32, 33, 24, 35, 16, 37, 8, 39, 0, 1, 32, 3, 24, 5, 16, 7, 8, 9, 0, 11, 32, 13, 24, 15, 16, 17, 8, 19, 0, 21, 32, 23, 24, 25, 16, 27, 8, 29, 0, 31, 32, 33, 24, 35, 16 (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, 0, 0, 1).
FORMULA
a(n) = a(n-40). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 80], 5, 40] (* Harvey P. Dale, Aug 25 2014 *)
PROG
(Sage) [power_mod(n, 5, 40)for n in range(0, 77)] # Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%40 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A303328 A298921 A070631 * A249597 A303322 A126654
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 20 14:08 EDT 2024. Contains 372717 sequences. (Running on oeis4.)