OFFSET
0,2
FORMULA
a(n) = Sum_{k=0..n} binomial(n,k) * A339399(n-k+1).
MATHEMATICA
a[n_] := (1 + (-1)^n) (1 + Floor[Sqrt[2 n - 1 - (-1)^n]])/2 - ((2 n + 1 - (-1)^n)/2 - 2 Sum[Floor[(k + 1)/2], {k, -1 + Floor[Sqrt[2 n - 2 - (-1)^n]]}]) (-1)^n/2; Table[Sum[Binomial[n, i]*a[n - i + 1], {i, 0, n}], {n, 0, 40}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Dec 24 2021
STATUS
approved