Given a positive integer \$n\$, your task is to find out the number of partitions \$a_1+a_2+\dots+a_k=n\$ where each \$a_j\$ has exactly \$j\$ bits set.
For instance, there are \$6\$ such partitions for \$n=14\$:
$$\begin{align}&14 = 1_2+110_2+111_2&(1+6+7)\\ &14 = 10_2+101_2+111_2&(2+5+7)\\ &14 = 10_2+1100_2&(2+12)\\ &14 = 100_2+11_2+111_2&(4+3+7)\\ &14 = 100_2+1010_2&(4+10)\\ &14 = 1000_2+110_2&(8+6)\end{align}$$
This is code-golf, so the shortest answer wins.
Test cases
n f(n)
-------
1 1
2 1
3 0
4 2
5 1
10 2
14 6
19 7
20 10
25 14
33 32
41 47
44 55
50 84
54 102
59 132