|
|
A014431
|
|
a(1) = 1, a(2) = 2, a(n) = a(1)*a(n-1) + a(2)*a(n-2) + ...+ a(n-2)*a(2) for n >= 3.
|
|
3
|
|
|
1, 2, 2, 6, 14, 42, 122, 382, 1206, 3922, 12914, 43190, 145950, 498170, 1714026, 5940014, 20712646, 72623266, 255875298, 905477734, 3216853294, 11469069258, 41023019098, 147166210014, 529374272470, 1908965352434, 6899707805522, 24991194656022, 90698707816766
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x + 2*x^2/G(0) with G(k) = (1 - x - 2*x^2/G(k+1)) (continued fraction). - Nikolaos Pantelidis, Dec 16 2022
|
|
MATHEMATICA
|
Rest@ CoefficientList[Series[(1 + x - Sqrt[1 - 2 x - 7 x^2])/2, {x, 0, 27}], x] (* Michael De Vlieger, Jan 02 2020 *)
|
|
PROG
|
(PARI) a(n)=polcoeff((1+x-sqrt(1-2*x-7*x^2+x*O(x^n)))/2, n)
(Magma) a:=[1, 2]; for n in [3..30] do Append(~a, &+[a[k]*a[n-k]:k in [1..n-2]] ); end for; a; // Marius A. Burtea, Jan 02 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|