OFFSET

1,1

COMMENTS

If there is a set of consecutive numbers in this sequence starting at k, this means that k-1 is a good approximation to Pi.

If the set of successive integers is longer that approximation k-1 better (see A138338)

EXAMPLE

a(1)=7 because 3.141593 (6 digits) is root of cubic 2 + 29 x - 22 x^2 + 4 x^3 and 3.1415927 (7 digits) also is root of that same polynomial -3061495+674903*x+95366*x^2

MATHEMATICA

b = {}; a = {}; Do[k = Recognize[N[Pi, n + 1], 3, x]; If[MemberQ[a, k], AppendTo[b, n], AppendTo[a, k]], {n, 2, 300}]; b

CROSSREFS

KEYWORD

nonn,uned,base

AUTHOR

Artur Jasinski, Mar 15 2008

STATUS

approved