|
| |
|
|
A157193
|
|
Greedy Egyptian fraction expansion for 4/Pi
|
|
0
| | |
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| Sum_{n>=0}1/a(n)=4/Pi
Truncating the series to three terms yields the convergent 22/7 as an approximation to Pi:
1+1/4+1/44=14/11=4/(22/7)
|
|
|
LINKS
| Wikipedia, Greedy algorithm for Egyptian fractions
|
|
|
PROG
| (PARI) x=4/Pi; for (k=0, 7, d=ceil(1/x); x=x-1/d; print(d, ", "))
|
|
|
CROSSREFS
| Cf. A088538, A154956, A156618.
Sequence in context: A188456 A127635 A134174 * A024254 A167781 A173327
Adjacent sequences: A157190 A157191 A157192 * A157194 A157195 A157196
|
|
|
KEYWORD
| frac,nonn
|
|
|
AUTHOR
| Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Feb 24 2009
|
| |
|
|