login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A127840
a(1)=1, a(2)=...=a(6)=0, a(n) = a(n-6)+a(n-5) for n>6.
1
1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 2, 1, 0, 0, 1, 3, 3, 1, 0, 1, 4, 6, 4, 1, 1, 5, 10, 10, 5, 2, 6, 15, 20, 15, 7, 8, 21, 35, 35, 22, 15, 29, 56, 70, 57, 37, 44, 85, 126, 127, 94, 81, 129, 211, 253, 221, 175, 210, 340, 464, 474, 396, 385, 550
OFFSET
1,18
COMMENTS
Part of the phi_k family of sequences defined by a(1)=1, a(2)=...=a(k)=0, a(n)=a(n-k)+a(n-k+1) for n>k. phi_2 is a shift of the Fibonacci sequence and phi_3 is a shift of the Padovan sequence.
REFERENCES
S. Suter, Binet-like formulas for recurrent sequences with characteristic equation x^k=x+1, preprint, 2007. [Apparently unpublished as of May 2016]
FORMULA
Binet-like formula: a(n) = Sum_{i=1..6} (r_i^n)/(5(r_i)^2+6(r_i)) where r_i is a root of x^6=x+1.
a(n) = A017837(n-6). - R. J. Mathar, Sep 20 2012
G.f.: x*(1-x)*(1+x+x^2+x^3+x^4) / (1-x^5-x^6). - Colin Barker, May 30 2016
PROG
(PARI) Vec(x*(1-x)*(1+x+x^2+x^3+x^4)/(1-x^5-x^6) + O(x^100)) \\ Colin Barker, May 30 2016
CROSSREFS
Sequence in context: A036866 A144225 A159854 * A017837 A145153 A255517
KEYWORD
nonn,easy
AUTHOR
Stephen Suter (sms5064(AT)psu.edu), Apr 02 2007
STATUS
approved