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.

A207432 Positions of primes in A066680, the badly sieved numbers.

Original entry on oeis.org

1, 2, 3, 4, 6, 8, 9, 11, 12, 14, 16, 17, 18, 19, 21, 23, 24, 25, 27, 29, 30, 32, 34, 35, 36, 38, 39, 41, 42, 44, 46, 48, 49, 50, 52, 53, 55, 56, 58, 60, 63, 64, 66, 68, 70, 71, 73, 75, 76, 77, 79, 80, 81, 84, 85, 87, 89, 90, 93, 94, 95, 97, 98, 99, 101, 102
Offset: 1

Views

Author

Reinhard Zumkeller, Feb 17 2012

Keywords

Comments

A066680(a(n)) = A000040(n).

Crossrefs

Cf. A000040.

Programs

  • Haskell
    import Data.List (elemIndex)
    import Data.Maybe (fromJust)
    a207432 n = (fromJust $ elemIndex (a000040 n) a066680_list) + 1