login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=0..57.

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

Cf. A000290, A000045.

Sequence in context: A143096 A280225 A153058 * A276645 A293282 A240926

Adjacent sequences:  A216222 A216223 A216224 * A216226 A216227 A216228

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 26 05:10 EST 2020. Contains 331273 sequences. (Running on oeis4.)