A356066 Numbers with a prime index that is not a prime-power. Complement of A355743.
2, 4, 6, 8, 10, 12, 13, 14, 16, 18, 20, 22, 24, 26, 28, 29, 30, 32, 34, 36, 37, 38, 39, 40, 42, 43, 44, 46, 47, 48, 50, 52, 54, 56, 58, 60, 61, 62, 64, 65, 66, 68, 70, 71, 72, 73, 74, 76, 78, 79, 80, 82, 84, 86, 87, 88, 89, 90, 91, 92, 94, 96, 98, 100, 101
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 2: {1} 4: {1,1} 6: {1,2} 8: {1,1,1} 10: {1,3} 12: {1,1,2} 13: {6} 14: {1,4} 16: {1,1,1,1} 18: {1,2,2} 20: {1,1,3} 22: {1,5} 24: {1,1,1,2}
Crossrefs
Programs
-
Mathematica
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],!And@@PrimePowerQ/@primeMS[#]&]
Comments