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!)
A070609 a(n) = n^5 mod 25. 1
0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1, 7, 18, 24, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Period 5: repeat [0, 1, 7, 18, 24]. - Jianing Song, Apr 06 2019
LINKS
FORMULA
From Colin Barker, Apr 06 2019: (Start)
G.f.: x*(1 + 4*x)*(1 + 3*x + 6*x^2) / ((1 - x)*(1 + x + x^2 + x^3 + x^4)).
a(n) = a(n-5) for n>4.
(End)
PROG
(Sage) [power_mod(n, 5, 25)for n in range(0, 87)] # - Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%25 \\ Charles R Greathouse IV, Apr 06 2016
(PARI) concat(0, Vec(x*(1 + 4*x)*(1 + 3*x + 6*x^2) / ((1 - x)*(1 + x + x^2 + x^3 + x^4)) + O(x^80))) \\ Colin Barker, Apr 06 2019
CROSSREFS
Sequence in context: A091832 A256011 A272972 * A007236 A056021 A090098
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 31 21:26 EDT 2024. Contains 373003 sequences. (Running on oeis4.)