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.

A186207 The first n-digit prime in the decimal expansion of 1/Pi.

Original entry on oeis.org

3, 31, 379, 8861, 86183, 886183, 8861837, 98861837, 929148091, 3098861837, 83098861837, 183098861837, 8618379067153, 28724068919291, 830988618379067, 7906715377675267, 12897495334688117, 675267450287240689, 7675267450287240689, 83098861837906715377
Offset: 1

Views

Author

Michel Lagneau, Feb 15 2011

Keywords

Comments

1/Pi = 0.31830988618379067153....

Crossrefs

Programs

  • Maple
    Digits := 10000: p0 := evalf(1/Pi)*10:for d from 1 to 20 do: id:=0:for i from
      0 to 50000 while(id=0) do :q0:=trunc(p0*10^(i+d-1)): x:= irem(q0,10^d): if type(x,prime)=true  and length(x)=d then printf(`%d, `,x):id:=1: else fi:od:od: