OFFSET
0,7
EXAMPLE
For n = 6 the partitions of 6 that contain at least one composite parts are [6], [4, 2] and [4, 1, 1]. There are three of these partitions so a(6) = 3.
PROG
(PARI) a(n) = my(nb=0); forpart(p=n, if (#select(x->((x>1) && !isprime(x)), Vec(p)) >=1, nb++); ); nb; \\ Michel Marcus, Jun 23 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Jun 22 2022
STATUS
approved