|
|
A186723
|
|
a(n) = n^n! (mod 10)
|
|
0
|
|
|
0, 1, 4, 9, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6, 5, 6, 1, 6, 1, 0, 1, 6, 1, 6
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Periodic for n>3. Repeat: [6, 5, 6, 1, 6, 1, 0, 1, 6, 1]
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,1).
|
|
FORMULA
|
G.f.: x*(8*x^12 - 2*x^11 - x^8 - 6*x^7 - x^6 - 6*x^5 - 5*x^4 - 6*x^3 - 9*x^2 - 4*x - 1)/(x^10 - 1). - Chai Wah Wu, Jun 04 2016
|
|
MATHEMATICA
|
Table[PowerMod[n, n!, 10], {n, 0, 84}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|