OFFSET
0,3
COMMENTS
Number of partitions of n into parts 1, 2, 8 and 9. - Ilya Gutkovskiy, May 14 2017
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,0,0,0,0,1,0,-2,0,1,0,0,0,0,-1,1,1,-1).
FORMULA
a(n) = floor((2*n^3 + 60*n^2 + 525*n + 27*n*(-1)^n + 2160)/1728 + (1/2)*([(n mod 8)=4] - [(n mod 8) in {1,7}])). - Hoang Xuan Thanh, Jul 06 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
