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.

A077040 Primes p such that abs(A077039(A049084(p))) <= p.

Original entry on oeis.org

2, 3, 5, 7, 13, 17, 19, 29, 31, 37, 43, 47, 53, 59, 61, 67, 73, 97, 101, 103, 109, 113, 127, 137, 149, 157, 181, 193, 197, 199, 281, 293, 317, 337, 349, 353, 359, 373, 397, 401, 419, 431, 439, 443, 449, 467, 479, 617, 677, 709, 773, 797, 809, 811, 821, 823, 829
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 21 2002

Keywords

Crossrefs

Programs

  • Haskell
    import Data.List (findIndices)
    a077040 n = a077040_list !! (n-1)
    a077040_list = map (a000040 . (+ 1)) $ findIndices (<= 0) $
       zipWith (\s p -> abs s - p) a077039_list a000040_list
    -- Reinhard Zumkeller, Feb 28 2012