login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123559 a(n) is the smallest integer such that 1/a(1)^2 + 1/a(2)^2 + ... + 1/a(n-1)^2 + 1/a(n)^2 is less than Pi. 0
1, 1, 1, 3, 6, 20, 71, 431, 11111, 1096517, 3060614764, 139873870750394, 2228164248308209927663, 137936736998106949095632586591612, 1537967284879934603600637815040145351018766857006 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = ceiling(sqrt(Pi - Sum_{i=1..n-1} 1/a(i)^2)).
EXAMPLE
a(4)=3 because Pi - 1/a(1)^2 - 1/a(2)^2 - 1/a(3)^2 = Pi - 1 - 1 - 1 = 0.1415926... and 3 is the smallest integer such that 1/3^2 = 0.1111111... < 0.1415926...
PROG
(PARI) l(x)=ceil(sqrt(1/x)) k=Pi; for(T=1, 50, print(l(k)); k=k-1/l(k)^2)
CROSSREFS
Sequence in context: A090371 A288817 A168594 * A334329 A162171 A194992
KEYWORD
nonn
AUTHOR
Hauke Worpel (hw1(AT)email.com), Nov 11 2006
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 08:53 EDT 2024. Contains 371268 sequences. (Running on oeis4.)