OFFSET
1,6
COMMENTS
Partitions of this type are ranked by the squarefree terms of A326149.
EXAMPLE
The a(n) partitions for n = 1, 6, 10, 12, 15, 18:
(1) (6) (10) (12) (15) (18)
(3,2,1) (5,3,2) (5,4,3) (6,5,4) (12,6)
(5,4,1) (6,4,2) (7,5,3) (9,5,4)
(8,3,1) (9,5,1) (9,6,3)
(6,3,2,1) (10,3,2) (9,7,2)
(6,5,3,1) (9,8,1)
(5,4,3,2,1) (6,5,4,3)
(7,6,3,2)
(8,6,3,1)
(9,4,3,2)
(9,6,2,1)
(12,3,2,1)
MAPLE
b:= proc(n, i, t) option remember; `if`(i*(i+1)/2<n, 0,
`if`(n=0, `if`(t=1, 1, 0), b(n, i-1, t)+
b(n-i, min(i-1, n-i), t/igcd(i, t))))
end:
a:= n-> `if`(isprime(n), 1, b(n$3)):
seq(a(n), n=1..70); # Alois P. Heinz, Jan 07 2025
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&Divisible[Times@@#, n]&]], {n, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 07 2025
STATUS
approved