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!)
A216225 Distance between n^2 and next higher Fibonacci number. 0
0, 0, 1, 4, 5, 9, 19, 6, 25, 8, 44, 23, 0, 64, 37, 8, 121, 88, 53, 16, 210, 169, 126, 81, 34, 362, 311, 258, 203, 146, 87, 26, 573, 508, 441, 372, 301, 228, 153, 76, 984, 903, 820, 735, 648, 559, 468, 375, 280, 183, 84, 1580, 1477, 1372, 1265, 1156, 1045, 932 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = fib(x) - n^2 if fib(x) => n^2 and fib(x-1) < n^2; a(n)=0 for n=1, 12.
EXAMPLE
a(6) = 19 since 6^2 + 19 = 55 = fib(10) while fib(9) = 34 < 36.
MATHEMATICA
k = 0; Table[While[n^2 > Fibonacci[k], k++]; Fibonacci[k] - n^2, {n, 0, 100}] (* T. D. Noe, Mar 13 2013 *)
CROSSREFS
Sequence in context: A143096 A280225 A153058 * A276645 A293282 A240926
KEYWORD
nonn
AUTHOR
Carmine Suriano, Mar 13 2013
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 April 24 11:13 EDT 2024. Contains 371936 sequences. (Running on oeis4.)