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.

A031288 Position of n-th 1 in A007376.

Original entry on oeis.org

1, 10, 12, 13, 14, 16, 18, 20, 22, 24, 26, 28, 33, 53, 73, 93, 113, 133, 153, 173, 190, 193, 195, 196, 199, 202, 205, 208, 211, 214, 217, 220, 221, 223, 224, 225, 226, 227, 229, 230, 232, 233, 235, 236, 238, 239, 241, 242, 244, 245
Offset: 1

Views

Author

Keywords

Comments

A007376(a(n)) = 1;
a(n) = Min{A031287(n), A031288(n), A031289(n), A031290(n), A031291(n), A031292(n), A031293(n), A031294(n), A031295(n), A031296(n)}. [Reinhard Zumkeller, Jul 28 2011]

Crossrefs

Cf. A193428.

Programs

  • Haskell
    import Data.List (elemIndices)
    a031288 n = a031288_list !! (n-1)
    a031288_list = map (+ 1) $ elemIndices 1 a007376_list
    -- Reinhard Zumkeller, Jul 28 2011