A305733 Heinz numbers of irreducible integer partitions. Nonprime numbers whose prime indices have a common divisor > 1 or such that A181819(n) is already in the sequence.
1, 9, 21, 25, 27, 36, 39, 49, 57, 63, 65, 81, 87, 91, 100, 111, 115, 117, 121, 125, 129, 133, 144, 147, 159, 169, 171, 183, 185, 189, 196, 203, 213, 216, 225, 235, 237, 243, 247, 259, 261, 267, 273, 289, 299, 301, 303, 305, 319, 321, 324, 325, 333, 339, 343
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
rdzQ[n_]:=And[n>1,Or[PrimeQ[n],And[rdzQ[Times@@Prime/@FactorInteger[n][[All,2]]],GCD@@PrimePi/@FactorInteger[n][[All,1]]==1]]]; Select[Range[50],!rdzQ[#]&]
Comments