A011546
Decimal expansion of Pi rounded to n places.
Original entry on oeis.org
3, 31, 314, 3142, 31416, 314159, 3141593, 31415927, 314159265, 3141592654, 31415926536, 314159265359, 3141592653590, 31415926535898, 314159265358979, 3141592653589793, 31415926535897932, 314159265358979324, 3141592653589793238, 31415926535897932385, 314159265358979323846
Offset: 0
a(4) = floor(10^4 * Pi + 0.5) = 31416.
- Paolo Xausa, Table of n, a(n) for n = 0..995
- Mohammad K. Azarian, Al-Risala al-Muhitiyya: A Summary, (The Treatise on the Circumference), Missouri Journal of Mathematical Sciences, Vol. 22, No. 2, 2010, pp. 64-85.
- Lisa Scherzer, "Cracking Your PIN Code: Easy as 1-2-3-4", The Exchange, Sep 21 2012.
-
a:= proc(n) Digits:= n+20;
round(10^n * Pi)
end:
seq(a(n), n=0..20); # Alois P. Heinz, Mar 11 2016
-
Module[{nn=20,pid},pid=RealDigits[Pi,10,nn+2][[1]];Table[Floor[ (FromDigits[ Take[pid,n+1]])/10+1/2],{n,nn}]] (* Harvey P. Dale, Oct 09 2017 *)
Round[Pi*10^Range[0, 20]] (* Paolo Xausa, Jul 08 2025 *)
-
a(n)=round(Pi*10^n) \\ Charles R Greathouse IV, Sep 21 2012
A011544
Decimal expansion of e rounded to n places.
Original entry on oeis.org
3, 27, 272, 2718, 27183, 271828, 2718282, 27182818, 271828183, 2718281828, 27182818285, 271828182846, 2718281828459, 27182818284590, 271828182845905, 2718281828459045, 27182818284590452, 271828182845904524, 2718281828459045235, 27182818284590452354, 271828182845904523536
Offset: 0
A011547
Decimal expansion of sqrt(2) truncated to n places.
Original entry on oeis.org
1, 14, 141, 1414, 14142, 141421, 1414213, 14142135, 141421356, 1414213562, 14142135623, 141421356237, 1414213562373, 14142135623730, 141421356237309, 1414213562373095, 14142135623730950
Offset: 0
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., McGraw-Hill, 1976.
-
With[{sqrt2=N[Sqrt[2],30]},Table[IntegerPart[sqrt2 10^n],{n,0,20}]] (* Harvey P. Dale, Sep 22 2011 *)
IntegerPart[Table[N[Sqrt[2], k] 10^(k - 1), {k, 20}]] (* Vincenzo Librandi, Aug 16 2013 *)
A011552
Decimal expansion of phi rounded to n places.
Original entry on oeis.org
2, 16, 162, 1618, 16180, 161803, 1618034, 16180340, 161803399, 1618033989, 16180339887, 161803398875, 1618033988750, 16180339887499, 161803398874989, 1618033988749895, 16180339887498948, 161803398874989485, 1618033988749894848, 16180339887498948482, 161803398874989484820
Offset: 0
Showing 1-4 of 4 results.
Comments