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.

A385570 a(n) is the least positive integer k such that 10^(k/A386725(k)) has at least n correct decimal digits of Pi.

This page as a plain text file.
%I A385570 #26 Aug 07 2025 19:23:04
%S A385570 1,1,81,85,87,785,1221,5669,5669,193967,279002,296009,893696,893696,
%T A385570 42601399,48857271,98608238,936331413
%N A385570 a(n) is the least positive integer k such that 10^(k/A386725(k)) has at least n correct decimal digits of Pi.
%H A385570 <a href="/index/Ph#Pi314">Index entries for sequences related to the number Pi</a>.
%e A385570    n   approximated value of Pi
%e A385570    -   ------------------------
%e A385570    1    3.16227766016837933...
%e A385570    2    3.16227766016837933...
%e A385570    3    3.14002073072468031...
%e A385570    4    3.14105848907489924...
%e A385570    5    3.14154190501421816...
%e A385570    6    3.14159426168000789...
%e A385570    7    3.14159239635221012...
%e A385570    8    3.14159265464843386...
%e A385570    9    3.14159265464843386...
%e A385570   10    3.14159265302248860...
%e A385570   11    3.14159265351804869...
%e A385570   12    3.14159265358299421...
%e A385570   13    3.14159265358975264...
%e A385570   14    3.14159265358975264...
%e A385570   15    3.14159265358979960...
%e A385570   16    3.14159265358979359...
%e A385570   17    3.14159265358979322...
%e A385570   ...
%t A385570 A386725[n_]:=10^(n/Round[n/Log10[Pi]]); a[n_]:=Module[{k=1},While[RealDigits[A386725[k],10,n][[1]]!=RealDigits[Pi,10,n][[1]], k++]; k]; Array[a,10]
%Y A385570 Cf. A000796, A386725.
%K A385570 nonn,base,more
%O A385570 1,3
%A A385570 _Stefano Spezia_, Jul 31 2025