|
|
A070476
|
|
a(n) = n^3 mod 14.
|
|
1
|
|
|
0, 1, 8, 13, 8, 13, 6, 7, 8, 1, 6, 1, 6, 13, 0, 1, 8, 13, 8, 13, 6, 7, 8, 1, 6, 1, 6, 13, 0, 1, 8, 13, 8, 13, 6, 7, 8, 1, 6, 1, 6, 13, 0, 1, 8, 13, 8, 13, 6, 7, 8, 1, 6, 1, 6, 13, 0, 1, 8, 13, 8, 13, 6, 7, 8, 1, 6, 1, 6, 13, 0, 1, 8, 13, 8, 13, 6, 7, 8, 1, 6, 1, 6, 13, 0, 1, 8, 13, 8, 13, 6, 7, 8, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
|
|
FORMULA
|
a(n) = a(n-14).
G.f.: (-x -8*x^2 -13*x^3 -8*x^4 -13*x^5 -6*x^6 -7*x^7 -8*x^8 -x^9 -6*x^10 -x^11 -6*x^12 -13*x^13)/(-1 + x^14). (End)
|
|
MATHEMATICA
|
|
|
PROG
|
(Sage) [power_mod(n, 3, 14 )for n in range(0, 94)] # Zerinvary Lajos, Oct 29 2009
(PARI) x='x+O('x^99); concat(0, Vec((-x-8*x^2-13*x^3-8*x^4-13*x^5-6*x^6 -7*x^7-8*x^8-x^9-6*x^10-x^11-6*x^12-13*x^13)/(-1+x^14))) \\ Altug Alkan, Mar 28 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|