|
|
A177842
|
|
Period 27: repeat 1, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 1, 81, 81, 9, 81, 81.
|
|
0
|
|
|
1, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 1, 81, 81, 9, 81, 81, 1, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 1, 81, 81, 9, 81, 81, 1, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 3, 81, 81, 9, 81, 81, 3, 81, 81, 1, 81, 81
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
a(n) here has period length 3^3 and the general series of this family has period length k^k.
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1).
|
|
FORMULA
|
G.f.: ( -1 -81*x -3*x^9 -3*x^3 -81*x^4 -81*x^5 -9*x^6 -81*x^7 -81*x^8 -81*x^10 -3*x^12 -81*x^13 -81*x^14 -9*x^15 -81*x^16 -81*x^17 -3*x^18 -81*x^19 -81*x^20 -x^21 -81*x^22 -81*x^23 -9*x^24 -81*x^25 -81*x^26 -81*x^11 -81*x^2 ) / ( (x-1) *(1+x+x^2) *(1+x^3+x^6) *(1+x^9+x^18) ). - R. J. Mathar, Dec 09 2010
a(n) = a(n+27).
|
|
PROG
|
(PARI) a(n)=3^[0, 4, 4, 1, 4, 4, 2, 4, 4, 1, 4, 4, 1, 4, 4, 2, 4, 4, 1, 4, 4, 0, 4, 4, 2, 4, 4][n%27+1] \\ Charles R Greathouse IV, Jul 17 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|