OFFSET
0,6
EXAMPLE
For n = 6 the partitions of 6 that contain at least one odd prime as a part are [3, 3], [5, 1], [3, 2, 1], [3, 1, 1, 1]. There are four of these partitions so a(6) = 4.
PROG
(PARI) a(n) = my(nb=0); forpart(p=n, if (#select(x->((x>2) && isprime(x)), Vec(p)) >=1, nb++); ); nb; \\ Michel Marcus, Jun 23 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Jun 23 2022
EXTENSIONS
More terms from Michel Marcus, Jun 23 2022
STATUS
approved