OFFSET
0,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
MAPLE
a:= n-> (f-> f-floor(sqrt(f))^2)((<<0|1>, <1|1>>^n)[1, 2]):
seq(a(n), n=0..52); # Alois P. Heinz, Oct 26 2022
MATHEMATICA
PROG
(PARI) a(n) = my(f=fibonacci(n)); f - sqrtint(f)^2; \\ Michel Marcus, Nov 11 2015
(Magma) [Fibonacci(n) - Floor(Sqrt(Fibonacci(n)))^2: n in [0..100]]; // G. C. Greubel, Oct 26 2022
(SageMath) [fibonacci(n) - isqrt(fibonacci(n))^2 for n in range(101)] # G. C. Greubel, Oct 26 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jun 02 2011
EXTENSIONS
a(0) prepended by Alois P. Heinz, Nov 11 2015
STATUS
approved