A324698 Lexicographically earliest sequence containing 2 and all numbers > 1 whose prime indices already belong to the sequence.
2, 3, 5, 9, 11, 15, 23, 25, 27, 31, 33, 45, 47, 55, 69, 75, 81, 83, 93, 97, 99, 103, 115, 121, 125, 127, 135, 137, 141, 155, 165, 197, 207, 211, 225, 235, 243, 249, 253, 257, 275, 279, 291, 297, 309, 341, 345, 347, 363, 375, 379, 381, 405, 411, 415, 419, 423
Offset: 1
Keywords
Examples
The sequence of terms together with their prime indices begins: 2: {1} 3: {2} 5: {3} 9: {2,2} 11: {5} 15: {2,3} 23: {9} 25: {3,3} 27: {2,2,2} 31: {11} 33: {2,5} 45: {2,2,3} 47: {15} 55: {3,5} 69: {2,9} 75: {2,3,3} 81: {2,2,2,2} 83: {23} 93: {2,11} 97: {25} 99: {2,2,5}
Crossrefs
Programs
-
Mathematica
aQ[n_]:=Switch[n,1,False,2,True,,And@@Cases[FactorInteger[n],{p,k_}:>aQ[PrimePi[p]]]]; Select[Range[100],aQ]
Comments