A302798 Squarefree numbers that are prime or whose prime indices are pairwise coprime. Heinz numbers of strict integer partitions that either consist of a single part or have pairwise coprime parts.
1, 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 17, 19, 22, 23, 26, 29, 30, 31, 33, 34, 35, 37, 38, 41, 43, 46, 47, 51, 53, 55, 58, 59, 61, 62, 66, 67, 69, 70, 71, 73, 74, 77, 79, 82, 83, 85, 86, 89, 93, 94, 95, 97, 101, 102, 103, 106, 107, 109, 110, 113, 118, 119, 122
Offset: 1
Keywords
Examples
Sequence of terms together with their sets of prime indices begins: 01 : {} 02 : {1} 03 : {2} 05 : {3} 06 : {1,2} 07 : {4} 10 : {1,3} 11 : {5} 13 : {6} 14 : {1,4} 15 : {2,3} 17 : {7} 19 : {8} 22 : {1,5} 23 : {9} 26 : {1,6} 29 : {10} 30 : {1,2,3}
Crossrefs
Programs
-
Mathematica
Select[Range[100],Or[#===1,SquareFreeQ[#]&&(PrimeQ[#]||CoprimeQ@@PrimePi/@FactorInteger[#][[All,1]])]&]
Comments