OFFSET
0,2
COMMENTS
The initial terms coincide with those of A003947, although the two sequences are eventually different.
First disagreement is at index 32, the difference is 10. - Klaus Brockhaus, Jun 26 2011
Computed with Magma using commands similar to those used to compute A154638.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..165
Index entries for linear recurrences with constant coefficients, signature (3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, -6).
FORMULA
G.f.: (t^32 + 2*t^31 + 2*t^30 + 2*t^29 + 2*t^28 + 2*t^27 + 2*t^26 + 2*t^25 + 2*t^24 + 2*t^23 + 2*t^22 + 2*t^21 + 2*t^20 + 2*t^19 + 2*t^18 + 2*t^17 + 2*t^16 + 2*t^15 + 2*t^14 + 2*t^13 + 2*t^12 + 2*t^11 + 2*t^10 + 2*t^9 + 2*t^8 + 2*t^7 + 2*t^6 + 2*t^5 + 2*t^4 + 2*t^3 + 2*t^2 + 2*t + 1)/(6*t^32 - 3*t^31 - 3*t^30 - 3*t^29 - 3*t^28 - 3*t^27 - 3*t^26 - 3*t^25 - 3*t^24 - 3*t^23 - 3*t^22 - 3*t^21 - 3*t^20 - 3*t^19 - 3*t^18 - 3*t^17 - 3*t^16 - 3*t^15 - 3*t^14 - 3*t^13 - 3*t^12 - 3*t^11 - 3*t^10 - 3*t^9 - 3*t^8 - 3*t^7 - 3*t^6 - 3*t^5 - 3*t^4 - 3*t^3 - 3*t^2 - 3*t + 1).
G.f.: (1+2*sum(k=1..31,x^k)+x^32)/(1-3*sum(k=1..31,x^k)+6*x^32).
PROG
(PARI) x='x+O('x^66); /* that many terms */
Vec((1+2*sum(k=1, 31, x^k)+x^32)/(1-3*sum(k=1, 31, x^k)+6*x^32)) /* show terms */
/* Joerg Arndt, Jun 26 2011 */
CROSSREFS
KEYWORD
nonn
AUTHOR
John Cannon and N. J. A. Sloane, Dec 03 2009
STATUS
approved