OFFSET
0,2
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
FORMULA
a(1 + A000045(6*k)^2/4) >= 4.
MAPLE
N:= 100: # to get terms <= N
V:= Array(0..N):
for i from 0 do
f:= combinat:-fibonacci(i);
if f >= N then break fi;
s:= floor(sqrt(N-f));
J:=[seq(f+i^2, i=0..s)];
V[J]:= V[J] +~ 1;
od:
convert(V, list);
PROG
(PARI) f(n) = my(k=1); while (fibonacci(k) <= n, k++); k; \\ A108852
a(n) = sum(k=0, f(n), issquare(n-fibonacci(k))); \\ Michel Marcus, Apr 23 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Apr 22 2023
STATUS
approved