A135435 a(n) = a(n-4) + a(n-7) with a(0), ..., a(6) = [7,0,0,0,4,0,0].
7, 0, 0, 0, 4, 0, 0, 7, 4, 0, 0, 11, 4, 0, 7, 15, 4, 0, 18, 19, 4, 7, 33, 23, 4, 25, 52, 27, 11, 58, 75, 31, 36, 110, 102, 42, 94, 185, 133, 78, 204, 287, 175, 172, 389, 420, 253, 376, 676, 595, 425, 765, 1096, 848, 801, 1441, 1691, 1273, 1566, 2537, 2539, 2074, 3007, 4228
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 1, 0, 0, 1).
Crossrefs
Cf. A133394.
Programs
-
Mathematica
LinearRecurrence[{0,0,0,1,0,0,1},{7,0,0,0,4,0,0},70] (* Harvey P. Dale, Jan 20 2013 *)
-
PARI
Vec((7-3*x^4)/(1-x^4-x^7) + O(x^80)) \\ Michel Marcus, Oct 14 2016
Formula
G.f.: (7-3*x^4)/(1-x^4-x^7). - R. J. Mathar, Oct 24 2009
Extensions
More terms from R. J. Mathar, Oct 24 2009
Comments