OFFSET
1,5
LINKS
Fausto A. C. Cariboni, Table of n, a(n) for n = 1..450, (terms up to a(250) from Andrew Howroyd)
EXAMPLE
The a(14) = 7 strict integer partitions are (14), (11,3), (10,4), (9,5), (8,6), (7,5,2), (7,4,3).
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&Select[Tuples[#, 2], UnsameQ@@#&&Divisible@@#&]==={}&]], {n, 60}]
PROG
(PARI)
lista(nn)={local(Cache=Map());
my(excl=vector(nn, n, sumdiv(n, d, 2^(n-d))));
my(a(n, m=n, b=0)=
if(n==0, 1,
while(m>n || bittest(b, 0), m--; b>>=1);
my(hk=[n, m, b], z);
if(!mapisdefined(Cache, hk, &z),
z = if(m, self()(n, m-1, b>>1) + self()(n-m, m, bitor(b, excl[m])), 0);
mapput(Cache, hk, z)); z));
for(n=1, nn, print1(a(n), ", "))
} \\ Andrew Howroyd, Nov 02 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 22 2018
STATUS
approved