OFFSET
0,2
COMMENTS
The initial terms coincide with those of A003946, although the two sequences are eventually different.
First disagreement at index 30: a(30) = 274521509459526, A003946(30) = 274521509459532. - Klaus Brockhaus, Jun 22 2011
Computed with Magma using commands similar to those used to compute A154638.
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -3).
FORMULA
G.f.: (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)/(3*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).
a(n) = -3*a(n-30) + 2*Sum_{k=1..29} a(n-k). - Wesley Ivan Hurt, Dec 31 2023
MATHEMATICA
coxG[{30, 3, -2, 30}] (* The coxG program is at A169452 *) (* Harvey P. Dale, Jun 18 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
John Cannon and N. J. A. Sloane, Dec 03 2009
STATUS
approved