

A137995


Nearest integer to 1/frac(Pi^A137994(n)), where frac(x) = x  floor(x).


1




OFFSET

1,1


COMMENTS

Sequence A137994 could be defined as "least positive integer such that this one (without rounding) is increasing".
The term a(1)=7 is not surprising (3 + 1/7 = 3.14...) but it comes as a funny surprise that the next term, a(2)=159, matches the next 3 digits of Pi and a(3) just differs by 5 from the next 3 digits!


LINKS



PROG

(PARI) default(realprecision, 10^4); f=1; for(i=1, 10^9, frac(Pi^i)<f  next; f=frac(Pi^i); print1(round(1/f), ", "))


CROSSREFS



KEYWORD

nonn,more


AUTHOR



STATUS

approved



