OFFSET
0,2
COMMENTS
a(n+1)/a(n) converges to Pi.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
MATHEMATICA
a[n_] := a[n] = Floor[(Pi + 1/Pi)a[n - 1] - a[n - 2]]; Table[a[n], {n, 0, 25}] (* Robert G. Wilson v *)
nxt[{a_, b_}]:=Module[{c=Pi+1/Pi}, {b, Floor[b*c-a]}]; NestList[nxt, {1, 3}, 30][[All, 1]] (* Harvey P. Dale, Oct 07 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jul 05 2003
EXTENSIONS
Edited by Don Reble, Nov 14 2005
Definition corrected by Robert G. Wilson v, Apr 26 2006
STATUS
approved