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.

A004789 Least k such that number of distinct prime divisors of the numbers in row k of Pascal's triangle is n.

Original entry on oeis.org

0, 2, 4, 6, 10, 11, 16, 18, 22, 23, 29, 35, 39, 42, 44, 47, 55, 59, 62, 69, 71, 78, 79, 83, 89, 100, 102, 104, 107, 111, 119, 130, 131, 138, 139, 149, 153, 159, 164, 167, 174, 179, 181, 191, 194, 197, 199, 215, 223, 228, 230, 233, 239, 250, 251, 259, 263, 269, 272, 279, 282
Offset: 0

Views

Author

Keywords

Comments

A004788(a(n)) = n and A004788(m) != n for m < a(n). - Reinhard Zumkeller, Mar 15 2015

Crossrefs

Programs

  • Haskell
    import Data.List (elemIndex); import Data.Maybe (fromJust)
    a004789 = fromJust . (`elemIndex` a004788_list)
    -- Reinhard Zumkeller, Mar 15 2015
  • PARI
    a(n) = {irow = 0; while(omega(prod(i=0, irow, binomial(irow, i)))!=n, irow++); return (irow);} \\ Michel Marcus, May 13 2013