OFFSET
1,1
COMMENTS
An odd partition is an integer partition of an odd number into an odd number of parts, all of which are odd.
Any product of three members of this sequence is also in the sequence.
EXAMPLE
Sequence of odd partitions begins: (1), (3), (111), (5), (7), (311), (9), (11), (11111), (13), (511), (15), (331), (17), (19), (711), (21), (31111), (23), (911), (25), (27), (29), (531), (1111), (333), (31), (1111111).
MATHEMATICA
primeMS[n_]:=If[n===1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], OddQ[Total[primeMS[#]]]&&And@@OddQ/@primeMS[#]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 01 2018
STATUS
approved