%I #9 Feb 24 2022 07:17:09
%S 1,1,0,1,2,2,2,4,6,7,7,10,14,15,15,21,28,32,32,44,53,60,60,76,93,103,
%T 107,131,157,172,178,211,247,273,283,333,384,423,439,507,577,629,657,
%U 747,846,917,960,1078,1211,1306,1362,1521,1691,1822,1898,2103,2322,2494,2596,2850,3134
%N Number of partitions of n into 7 distinct squarefree parts.
%p b:= proc(n, i, t) option remember; `if`(n=0,
%p `if`(t=0, 1, 0), `if`(i<1 or t<1, 0, b(n, i-1, t)+
%p `if`(numtheory[issqrfree](i), b(n-i, min(n-i, i-1), t-1), 0)))
%p end:
%p a:= n-> b(n$2, 7):
%p seq(a(n), n=34..94); # _Alois P. Heinz_, Feb 04 2021
%t b[n_, i_, t_] := b[n, i, t] = If[n == 0,
%t If[t == 0, 1, 0], If[i < 1 || t < 1, 0, b[n, i - 1, t] +
%t If[SquareFreeQ[i], b[n - i, Min[n - i, i - 1], t - 1], 0]]];
%t a[n_] := b[n, n, 7];
%t Table[a[n], {n, 34, 94}] (* _Jean-François Alcover_, Feb 24 2022, after _Alois P. Heinz_ *)
%Y Cf. A005117, A008966, A098236, A307835, A308952, A341067, A341073, A341074, A341075, A341096, A341097, A341098.
%K nonn
%O 34,5
%A _Ilya Gutkovskiy_, Feb 04 2021