OFFSET
1,3
COMMENTS
The hyperbolic numbers are bigger:
f[n_] := If[n == 0, 0, Sinh[n*Pi/4]/Sinh[Pi/4]];
out2 = Table[Floor[f[n]], {n, 0, 20}]
{0, 1, 2, 6, 13, 29, 64, 140, 308, 676, 1482, 3251, 7132, 15643, 34310,
75253, 165051, 362004, 793977, 1741415, 3819411}
FORMULA
a(0)=0;a(1)=1;a(2)=Floor[Exp[Pi/4]]; a(n)=Floor[a(n-1)*Exp[Pi/4]]
MATHEMATICA
a[0] = 0; a[1] = 1; a[2] = Floor[Exp[Pi/4]]; a[n_] := a[n] = Floor[a[n - 1]*Exp[Pi/4]]; out1 = Table[a[n], {n, 0, 20}]
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, Apr 04 2008
STATUS
approved