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.

A180058 Smallest number occurring in exactly n rows of Pascal's triangle.

Original entry on oeis.org

2, 6, 120, 3003
Offset: 1

Views

Author

Reinhard Zumkeller, Dec 24 2012

Keywords

Comments

A059233(a(n)) = n and A059233(m) < n for m < a(n).

Examples

			.  n  A180058  referred equal binomial coefficients (A007318)  A059233
.  -  -------  ----------------------------------------------  -------
.  1        2   C (2, 1)                                             1
.  2        6   C (4, 2)   C (6, 1)                                  2
.  3      120   C (10, 3)  C (16, 2)  C (120, 1)                     3
.  4     3003   C (14, 6)  C (15, 5)  C (78, 2)   C (3003, 1)        4 .
		

Crossrefs

Programs

  • Haskell
    import Data.List (elemIndex)
    import Data.Maybe (fromJust)
    a180058 = (+ 2) . fromJust . (`elemIndex` a059233_list)