A306758 a(n) = a(n-9) + a(n-10) with a(0)=10, a(1)=...=a(8)=0, a(9)=9.
10, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 0, 0, 0, 0, 0, 0, 0, 9, 19, 10, 0, 0, 0, 0, 0, 0, 9, 28, 29, 10, 0, 0, 0, 0, 0, 9, 37, 57, 39, 10, 0, 0, 0, 0, 9, 46, 94, 96, 49, 10, 0, 0, 0, 9, 55, 140, 190, 145, 59, 10, 0, 0, 9, 64, 195, 330, 335, 204, 69, 10, 0, 9, 73, 259, 525, 665
Offset: 0
Links
- Seiichi Manyama, Table of n, a(n) for n = 0..10000
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1,1).
Crossrefs
Column 9 of A306646.
Programs
-
Mathematica
LinearRecurrence[{0,0,0,0,0,0,0,0,1,1},{10,0,0,0,0,0,0,0,0,9},80] (* Harvey P. Dale, Jan 18 2021 *)
-
PARI
N=99; x='x+O('x^N); Vec((10-x^9)/(1-x^9-x^10))
Formula
G.f.: (10 - x^9)/(1 - x^9 - x^10).
a(0) = 10 and a(n) = n*Sum_{k=1..floor(n/9)} binomial(k,n-9*k)/k for n > 0.
Comments