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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070623 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

Table of n, a(n) for n=0..76.

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

Adjacent sequences:  A070620 A070621 A070622 * A070624 A070625 A070626

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 26 13:10 EDT 2021. Contains 347668 sequences. (Running on oeis4.)