cp's OEIS Frontend

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.

A099619 Occurrence of the n-th prime in A098962.

Original entry on oeis.org

2, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 33, 34, 35, 36, 37, 38, 41, 42, 43, 44, 46, 47, 48, 49, 50, 52, 53, 54, 56, 57, 58, 59, 61, 63, 64, 65, 66, 67, 68, 70, 72, 73, 74, 75, 76, 77, 78, 80, 82, 83, 84, 85, 88, 89, 91, 92, 93
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 26 2004

Keywords

Comments

A098962(a(n)) = A000040(n).

Crossrefs

Cf. A099620.

Programs

  • Haskell
    import Data.List (elemIndex)
    import Data.Maybe (fromJust)
    a099619 = (+ 1) . fromJust . (`elemIndex` a098962_list) . a000040
    -- Reinhard Zumkeller, Feb 18 2013