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.

A259537 Smallest m such that A259429(m) = 2*n-1.

Original entry on oeis.org

1, 56, 48, 147, 148, 49, 55, 2, 8, 14, 20, 26, 32, 38, 33, 27, 21, 15, 9, 3, 66, 50, 149, 158, 177, 57, 74, 88, 102, 116, 130, 45, 44, 131, 117, 103, 89, 75, 58, 178, 157, 150, 51, 65, 4, 10, 16, 22, 28, 34, 39, 139, 125, 111, 97, 83, 496, 186, 196, 163, 173
Offset: 1

Views

Author

Reinhard Zumkeller, Jun 30 2015

Keywords

Comments

Sequence is defined for all numbers iff A259429 is a permutation of the odd numbers;
A259429(a(n)) = 2*n-1.

Crossrefs

Cf. A259429.

Programs

  • Haskell
    import Data.List (elemIndex); import Data.Maybe (fromJust)
    a259537 = (+ 1) . fromJust . (`elemIndex` a259429_list) . subtract 1 . (* 2)