A206557 Number of 7's in the last section of the set of partitions of n.
0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 2, 2, 4, 5, 7, 9, 13, 16, 23, 28, 39, 48, 64, 79, 104, 128, 165, 204, 258, 317, 399, 487, 606, 739, 912, 1105, 1356, 1637, 1994, 2400, 2906, 3485, 4199, 5016, 6015, 7164, 8553, 10151, 12076, 14286, 16930, 19974, 23588, 27749
Offset: 1
Keywords
Crossrefs
Programs
-
Sage
A206557 = lambda n: sum(list(p).count(7) for p in Partitions(n) if 1 not in p)
Formula
It appears that A000041(n) = Sum_{j=1..7} a(n+j), n >= 0.
Comments