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.

A185024 Numbers occurring in just one row of Pascal's triangle.

Original entry on oeis.org

2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81
Offset: 1

Views

Author

Reinhard Zumkeller, Dec 24 2012

Keywords

Crossrefs

Programs

  • Haskell
    import Data.List (elemIndices)
    a185024 n = a185024_list !! (n-1)
    a185024_list = map (+ 2 ) $ elemIndices 1 a059233_list

Formula

A059233(a(n)) = 1.
a(n) = A137905(n-1), n >= 2. - Elijah Beregovsky, May 14 2019