OFFSET
0,2
COMMENTS
Antidiagonal sums of square array A342354.
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,1,-4,1,2,-1).
FORMULA
a(n) = (n + 1)/4*(5 - (-1)^n) - 7*binomial(n + 2, 2) + 7*binomial(n + 3, 3).
a(n) = (n + 1)*(14*(n + 1)^2 - 3*(-1)^n + 1)/12. - Bruno Berselli, Mar 09 2021
PROG
(Julia) [div((n + 1)*(14*(n + 1)^2 - 3*(-1)^n + 1), 12) for n in 0:50] |> println # Bruno Berselli, Mar 09 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Petros Hadjicostas, Mar 09 2021
STATUS
approved