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”).

A295671
a(n) = a(n-1) + a(n-3) + a(n-4), where a(0) = 1, a(1) = 1, a(2) = 1, a(3) = -1.
1
1, 1, 1, -1, 1, 3, 3, 3, 7, 13, 19, 29, 49, 81, 129, 207, 337, 547, 883, 1427, 2311, 3741, 6051, 9789, 15841, 25633, 41473, 67103, 108577, 175683, 284259, 459939, 744199, 1204141, 1948339, 3152477, 5100817, 8253297, 13354113, 21607407, 34961521, 56568931
OFFSET
0,6
COMMENTS
Lim_{n->inf} a(n)/a(n-1) = (1 + sqrt(5))/2 = golden ratio (A001622), so that a( ) has the growth rate of the Fibonacci numbers (A000045).
FORMULA
a(n) = a(n-1) + a(n-3) + a(n-4), where a(0) = 1, a(1) = 1, a(2) = 1, a(3) = -1.
G.f.: (-1 + 3 x^3)/(-1 + x + x^3 + x^4).
MATHEMATICA
LinearRecurrence[{1, 0, 1, 1}, {1, 1, 1, -1}, 100]
CROSSREFS
Sequence in context: A137438 A098524 A143015 * A107709 A111521 A177937
KEYWORD
easy,sign
AUTHOR
Clark Kimberling, Nov 27 2017
STATUS
approved