This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A358531 #7 Nov 22 2022 22:21:01 %S A358531 6,8,11,13,14,18,20,21,23,26,27,29,32,34,36,39,42,44,46,49,50,53,55, %T A358531 58,60,61,64,65,68,70,74,76,79,82,84,86,89,90,93,94,96,99,101,103,105, %U A358531 108,110,113,114,116,117,121,123,127,129,130,132,134,135,137 %N A358531 Indices of the primes in A358530. %C A358531 This sequence, together with A358529 and A356347, partition the set of positive integers >= 3. %F A358531 a(n) = A258026(n) + 2. %e A358531 n 1 2 3 4 5 6 7 %e A358531 k 6 8 11 13 14 18 20 %e A358531 p(n) 13 19 31 41 43 61 71 %t A358531 t = Select[2 + Range[140], %t A358531 Prime[#] - Prime[# - 1] < Prime[# - 1] - Prime[# - 2] &] (* A358531 *) %t A358531 Prime[t] (* A358530 *) %Y A358531 Cf. A001223, A258026, A358528, A358529, A358530, A181424, A356347. %K A358531 nonn,easy %O A358531 1,1 %A A358531 _Clark Kimberling_, Nov 21 2022