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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139514 Denominators of an Egyptian fraction for Pi, using only prime numbers and allowing repetitions. 9
2, 2, 2, 2, 2, 2, 11, 23, 139, 90439, 33156439637, 87550414616253068989, 751473085670398285260591818545427587609, 9405222481347574254746223047204588161218024092399608112777273401749812628709 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

EXAMPLE

1/2+1/2+1/2+1/2+1/2+1/2 = 3 (integer part of Pi)

3+1/11+1/23+1/139+1/90439 gives an approximation which is good to 10 decimal digits.

Adding the other fractions we reach a good approximation to 19, 38, 75, 149, 296, 591 decimal digits.

MAPLE

P:=proc(n) local a, i; a:=evalf(Pi-3, 100); for i from 1 by 1 to 6 do print(2); od; for i from 1 by 1 to n do if 1/ithprime(i)<a then a:=a-1/ithprime(i); print(a); print(ithprime(i)); fi; od; end: P(100000);

CROSSREFS

Cf. A139515-A139523.

Sequence in context: A172009 A202448 A129381 * A190617 A068323 A054990

Adjacent sequences:  A139511 A139512 A139513 * A139515 A139516 A139517

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (paoloplava(AT)gmail.com), Apr 24 2008

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 February 16 11:30 EST 2012. Contains 205907 sequences.