A355530 Squarefree numbers that are either even or have at least one pair of consecutive prime factors. Numbers n such that the minimal difference between adjacent 0-prepended prime indices of n is 1.
2, 6, 10, 14, 15, 22, 26, 30, 34, 35, 38, 42, 46, 58, 62, 66, 70, 74, 77, 78, 82, 86, 94, 102, 105, 106, 110, 114, 118, 122, 130, 134, 138, 142, 143, 146, 154, 158, 165, 166, 170, 174, 178, 182, 186, 190, 194, 195, 202, 206, 210, 214, 218, 221, 222, 226, 230
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 2: {1} 6: {1,2} 10: {1,3} 14: {1,4} 15: {2,3} 22: {1,5} 26: {1,6} 30: {1,2,3} 34: {1,7} 35: {3,4} 38: {1,8} 42: {1,2,4} 46: {1,9} 58: {1,10} 62: {1,11} 66: {1,2,5} 70: {1,3,4}
Links
Crossrefs
Programs
-
Mathematica
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],Min@@Differences[Prepend[primeMS[#],0]]==1&]
Comments