cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A137995 #18 Jun 28 2025 09:32:42
%S A137995 7,159,270,308,745,758,796,1080,1227,7805,13876,62099,70718,86902,
%T A137995 154756
%N A137995 Nearest integer to 1/frac(Pi^A137994(n)), where frac(x) = x - floor(x).
%C A137995 Sequence A137994 could be defined as "least positive integer such that this one (without rounding) is increasing".
%C A137995 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!
%o A137995 (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),","))
%Y A137995 Cf. A137994, A001203, A001672, A137299, A138324.
%K A137995 nonn,more
%O A137995 1,1
%A A137995 _M. F. Hasler_, inspired by _Leroy Quet_, Apr 05 2008
%E A137995 a(7) inserted and a(11)-a(15) added by _Amiram Eldar_, Jun 28 2025