OFFSET
0,3
LINKS
Ray Chandler, Table of n, a(n) for n = 0..50
Index entries for linear recurrences with constant coefficients, signature (2, 0, -1, 0, -1, 1, -2, 2, 1, 0, 0, 0, -1, -2, 2, -1, 1, 0, 1, 0, -2, 1).
EXAMPLE
For n=2, the 15 partitions of 14 are [1,1,1,1,1,1,8], [1,1,1,1,1,2,7], ..., [1,2,2,2,2,2,3], [2,2,2,2,2,2,2].
MATHEMATICA
Length /@ (Total /@ IntegerPartitions[7 #, {7}] & /@ Range[0, 24]) (* Michael De Vlieger, Mar 21 2015 *)
PROG
(PARI) concat(0, vector(35, n, k=0; forpart(p=7*n, k++, , [7, 7]); k))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Mar 21 2015
STATUS
approved