|
|
A326504
|
|
Number of (binary) max-heaps on n elements from the set {0,1} containing exactly three 0's.
|
|
2
|
|
|
1, 1, 2, 4, 6, 8, 12, 16, 23, 27, 38, 44, 60, 66, 88, 96, 125, 133, 170, 180, 226, 236, 292, 304, 371, 383, 462, 476, 568, 582, 688, 704, 825, 841, 978, 996, 1150, 1168, 1340, 1360, 1551, 1571, 1782, 1804, 2036, 2058, 2312, 2336, 2613, 2637, 2938, 2964, 3290
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,3
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Heap
|
|
FORMULA
|
G.f.: x^3*(2*x^6-2*x^5+2*x^3-x^2+1)/((x^2+1)*(x+1)^3*(x-1)^4).
|
|
MATHEMATICA
|
LinearRecurrence[{1, 2, -2, 0, 0, -2, 2, 1, -1}, {1, 1, 2, 4, 6, 8, 12, 16, 23}, 60] (* Harvey P. Dale, Mar 11 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|