OFFSET
1,16
FORMULA
EXAMPLE
a(18) = 2; 18 has two partitions into two composite parts that have the same number of divisors, (10,8) and (9,9).
MATHEMATICA
Table[Sum[KroneckerDelta[DivisorSigma[0, i], DivisorSigma[0, n - i]] (1 - PrimePi[i] + PrimePi[i - 1]) (1 - PrimePi[n - i] + PrimePi[n - i - 1]), {i, 2, Floor[n/2]}], {n, 100}]
Table[Count[IntegerPartitions[n, {2}], _?(AllTrue[#, CompositeQ]&&Length[Union[ DivisorSigma[ 0, #]]]==1&)], {n, 100}] (* Harvey P. Dale, Jul 02 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Dec 23 2020
STATUS
approved