|
|
A228515
|
|
Nonlinear recursion: a(n) = a(n-1) + Product_{i=1..(n-1)/2} a(n-2i+1)-a(n-2i).
|
|
0
|
|
|
1, 2, 4, 6, 8, 12, 20, 52, 308, 8500, 2105652, 17181974836, 36028814200938804, 618970019678718951650500916, 22300745198530623760505737951367313156481332
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Initial conditions: a(1)=1; a(2)=1; a(3)=4;
With a(3)=3, the recursion gives the positive integers.
|
|
LINKS
|
|
|
MATHEMATICA
|
a[1]:= 1; a[2]:= 2; a[3]:= 4;
a[n_Integer]:=a[n]=a[n-1]+ Times@@Table[(a[n-2i+1]-a[n-2i]), {i, 1, (n-1)/2}];
Table[a[n], {n, 1, 15}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|