OFFSET
0,13
COMMENTS
Number of partitions of n into parts 3, 7, and 12. - Hoang Xuan Thanh, Sep 06 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,1,0,0,0,1,0,0,-1,0,1,0,0,-1,0,0,0,-1,0,0,1).
FORMULA
a(n) = floor((n^2 + 36*n + 288)/504 - (n+4)*(n mod 3)/36 + ((3*(n^2 + n + 1)) mod 7)/7). - Hoang Xuan Thanh, Sep 06 2025
PROG
(PARI) a(n) = (n^2 + 36*n + 288 - 14*(n+4)*(n%3) + 72*((3*n^2+3*n+3)%7)) \504 \\ Hoang Xuan Thanh, Sep 06 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
