login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007514 Pi = Sum a(n)/n!, n=0..inf.
(Formerly M2193)
39

%I M2193

%S 3,0,0,0,3,1,5,6,5,0,1,4,7,8,0,6,7,10,7,10,4,10,6,16,1,11,20,3,18,12,

%T 9,13,18,21,14,34,27,11,27,33,36,18,5,18,5,23,39,1,10,42,28,17,20,51,

%U 8,42,47,0,27,23,16,52,32,52,53,24,43,61,64,18,17,11,0,53,14,62

%N Pi = Sum a(n)/n!, n=0..inf.

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H <a href="/index/Ph#Pi314">Index entries for sequences related to the number Pi</a>

%e Pi = 3/0! + 0/1! + 0/2! + 0/3! + 3/4! + 1/5! + ...

%t p = N[Pi, 1000]; Do[k = Floor[p*n! ]; p = p - k/n!; Print[k], {n, 0, 75} ]

%o (PARI) x=Pi;vector(floor((y->y/log(y))(default(realprecision))),n,t=(n-1)!;k=floor(x*t);x-=k/t;k) \\ _Charles R Greathouse IV_, Jul 15 2011

%Y Essentially same as A075874.

%Y Pi in base n: A004601 to A004608, A000796, A068436 to A068440, A062964.

%K nonn,changed

%O 0,1

%A _N. J. A. Sloane_, _Robert G. Wilson v_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 01:26 EDT 2013. Contains 225631 sequences.