|
|
A070474
|
|
a(n) = n^3 mod 12, n^5 mod 12.
|
|
4
|
|
|
0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
n^5 - n^3 == 0 (mod 12) is shown explicitly for n = 0 to 11, then the induction n -> n+12 for the 5th-order polynomial followed by binomial expansion of (n+12)^k concludes that the zero (mod 12) is periodically extended to the other integers. - R. J. Mathar, Jul 23 2009
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
|
|
FORMULA
|
a(n) = a(n-12).
G.f.: -x*(1 + 8*x + 3*x^2 + 4*x^3 + 5*x^4 + 7*x^6 + 8*x^7 + 9*x^8 + 4*x^9 + 11*x^10)/ ((x-1) *(1+x+x ^2) *(1+x) *(1-x+x^2) *(1+x^2) *(x^4-x^2+1)). (End)
|
|
MATHEMATICA
|
|
|
PROG
|
(Sage) [power_mod(n, 7, 12)for n in range(0, 100)] # Zerinvary Lajos, Oct 28 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|