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

A026290
a(n) = number of (s(0), s(1), ..., s(n)) such that every s(i) is an integer, s(0) = 0, s(1) = 1, s(n) = 4, |s(i) - s(i-1)| <= 1 for i >=2, |s(2) - s(1)| = 1, |s(3) - s(2)| = 1 if s(2) = 1. Also a(n) = T(n,n-4), where T is the array in A026268.
1
1, 4, 14, 46, 145, 446, 1349, 4034, 11966, 35290, 103642, 303458, 886548, 2585922, 7534245, 21934524, 63826041, 185668816, 540034074, 1570719570, 4568920029, 13292253106, 38679350746, 112583530784, 327793747775, 954702193796
OFFSET
4,2
FORMULA
G.f.: 32z^4(1-z)(1-z^2)/[1-z+sqrt(1-2z-3z^2)]^5.
CROSSREFS
Pairwise sums of A026145.
Pairwise sums of A026125.
Sequence in context: A054449 A029868 A030267 * A027649 A330796 A049221
KEYWORD
nonn
STATUS
approved