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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171245 Reciprocals of the deviation of continued fraction convergents from Pi. 0
7, -790, 12016, -3748629, 1730431227, -3015428685, 8172837003, -34313104062, 114738541304, -620832653094 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Clearly the terms alternate in sign, but the initial choice of sign was arbitrary.

LINKS

Table of n, a(n) for n=1..10.

EXAMPLE

The first convergent to Pi, 3, is just over 1/7 too low, so 7 is the first term.

The second convergent, 22/7, is 0.001264+ too high, which is just over 1/790, so -790 is the second term.

PROG

(PARI) for(x=1, 10, t=contfracpnqn(contfrac(Pi, x)); print(truncate(1/(Pi-t[1, 1]/t[2, 1]))))

CROSSREFS

Sequence in context: A162089 A020470 A182282 * A014013 A001467 A278438

Adjacent sequences:  A171242 A171243 A171244 * A171246 A171247 A171248

KEYWORD

cofr,frac,sign,more

AUTHOR

Phil Carmody, Dec 06 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 21 22:02 EDT 2019. Contains 325210 sequences. (Running on oeis4.)