A280135 Negative continued fraction of Pi (also called negative continued fraction expansion of Pi).
4, 2, 2, 2, 2, 2, 2, 17, 294, 3, 4, 5, 16, 2, 3, 4, 2, 4, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
Offset: 1
Keywords
Examples
Pi = 4 - (1 / (2 - (1 / (2 - (1 / ...))))).
References
- Leonard Eugene Dickson, History of the Theory of Numbers, page 379.
Crossrefs
Programs
-
PARI
\p10000; p=Pi;for(i=1,300,print(i," ",ceil(p)); p=ceil(p)-p;p=1/p )
Comments