A partition [p1,p2,...,pn] with 2≤p1≤p2≤...≤pn and n≥1 is called d-admissible (where d≥1 if n−d−1=n∑i=11pi.
Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d≥1? Note that the assumptions imply n≤2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes the problem complicated to obtain a program that is quick.
For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are 18 2-admissible partitions.