login
A014098
a(n)=a(n-1)+a(n-4).
0
1, 1, 1, 4, 5, 6, 7, 11, 16, 22, 29, 40, 56, 78, 107, 147, 203, 281, 388, 535, 738, 1019, 1407, 1942, 2680, 3699, 5106, 7048, 9728, 13427, 18533, 25581, 35309, 48736, 67269, 92850, 128159, 176895, 244164
OFFSET
0,4
MATHEMATICA
LinearRecurrence[{1, 0, 0, 1}, {1, 1, 1, 4}, 40] (* Harvey P. Dale, Jul 25 2019 *)
CROSSREFS
Sequence in context: A363089 A004714 A254713 * A086101 A131260 A047566
KEYWORD
nonn
AUTHOR
STATUS
approved