|
|
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
|
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) 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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|