login
A324703
Lexicographically earliest sequence containing 3 and all positive integers n such that the prime indices of n - 1 already belong to the sequence.
12
3, 6, 14, 26, 44, 66, 102, 126, 170, 194, 216, 318, 326, 506, 558, 560, 626, 702, 846, 966, 1014, 1076, 1182, 1314, 1322, 1586, 1626, 1850, 2112, 2162, 2198, 2510, 2526, 2786, 2796, 3126, 3506, 3618, 4050, 4058, 4122, 4226, 4344, 4640, 4826, 5066, 5298, 5376
OFFSET
1,1
COMMENTS
A self-describing sequence, similar to A304360.
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
FORMULA
a(n) = A324702(n) + 1.
MATHEMATICA
aQ[n_]:=Switch[n, 0, False, 3, True, _, And@@Cases[FactorInteger[n-1], {p_, k_}:>aQ[PrimePi[p]]]];
Select[Range[0, 1000], aQ]
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 11 2019
STATUS
approved