OFFSET
2,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 2..5000
FORMULA
a(n) = Sum_{k=1..floor(n/2)} Fibonacci(k+1)*A023533(n-k+1).
MATHEMATICA
PROG
(Magma)
A023533:= func< n | Binomial(Floor((6*n-1)^(1/3)) +2, 3) ne n select 0 else 1 >;
[(&+[Fibonacci(k+1)*A023533(n-k+1): k in [1..Floor(n/2)]]): n in [2..100]]; // G. C. Greubel, Jul 14 2022
(SageMath)
def A023533(n):
if binomial( floor( (6*n-1)^(1/3) ) +2, 3) != n: return 0
else: return 1
[sum(fibonacci(k+1)*A023533(n-k+1) for k in (1..(n//2))) for n in (2..100)] # G. C. Greubel, Jul 14 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(36) corrected by Sean A. Irvine, Aug 07 2019
Offset corrected by G. C. Greubel, Jul 14 2022
STATUS
approved