|
|
A136670
|
|
a(n) = floor(a(n-1) * exp(Pi)), starting 0, 1.
|
|
0
|
|
|
0, 1, 23, 532, 12310, 284861, 6591880, 152540668, 3529896712, 81684254837, 1890230234120, 43741236852957, 1012202517391875, 23423067337090791, 542026001764509598, 12542857105806790317, 290250401022346296890
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
MATHEMATICA
|
a[0] = 0; a[1] = 1; a[2] = Floor[Exp[Pi]]; a[n_] := a[n] = Floor[a[n - 1]*Exp[Pi]] out1 = Table[a[n], {n, 0, 20}]
With[{c=Exp[Pi]}, Join[{0}, NestList[Floor[c #]&, 1, 20]]] (* Harvey P. Dale, Jan 04 2012 *)
|
|
PROG
|
(PARI) a(n)=if(n<2, 1, floor(a(n-1)*exp(Pi))) \\ Ralf Stephan, Dec 25 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|