login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A248387
a(n) = index of n-th prime in A247665.
6
1, 2, 4, 5, 8, 9, 10, 11, 12, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 29, 30, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 56, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81
OFFSET
1,2
LINKS
Russ Cox and N. J. A. Sloane, Table of n, a(n) for n = 1..99436
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a248387 = (+ 1) . fromJust . (`elemIndex` a247665_list) . a000040
-- Reinhard Zumkeller, Oct 16 2014
CROSSREFS
Subsequence of A248918.
Sequence in context: A123291 A351701 A099402 * A117070 A130048 A189633
KEYWORD
nonn
AUTHOR
Russ Cox and N. J. A. Sloane, Oct 16 2014
STATUS
approved