login
A063457
a(n) = floor(a(n-1)*(Pi-1)); a(1) = 1.
2
1, 2, 4, 8, 17, 36, 77, 164, 351, 751, 1608, 3443, 7373, 15789, 33813, 72413, 155079, 332116, 711257, 1523222, 3262121, 6986134, 14961453, 32041337, 68619491, 146954997, 314717741, 673997202, 1443427456, 3091233635, 6620163243
OFFSET
1,2
LINKS
MATHEMATICA
a[1] = 1; a[n_] = Floor[ a[n - 1]*(Pi - 1) ]; Table[ a[n], {n, 1, 35} ]
With[{c=Pi-1}, NestList[Floor[c #]&, 1, 40]] (* Harvey P. Dale, Jan 14 2012 *)
PROG
(PARI) { default(realprecision, 100); for (n=1, 300, if (n>1, a=floor(a*(Pi - 1)), a=1); write("b063457.txt", n, " ", a) ) } \\ Harry J. Smith, Aug 22 2009
CROSSREFS
Cf. A063458.
Sequence in context: A308745 A367714 A226729 * A262735 A190162 A275691
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jul 25 2001
STATUS
approved