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.

A071854 a(n) = (number of distinct prime factors in C(2n,n)) - pi(n).

Original entry on oeis.org

1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 2, 1, 2, 1, 2, 2, 2, 0, 1, 1, 1, 1, 3, 3, 2, 1, 2, 3, 3, 3, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 3, 2, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 4, 3, 4, 3, 3, 3, 4, 4, 5, 5, 4, 4, 4, 3, 4, 3, 3, 4, 4, 5, 5, 4, 5, 5, 5, 4, 4, 4, 5, 5, 5, 4, 4, 5, 6, 5, 5, 5, 6, 5, 4, 5, 6, 5, 6, 5, 6, 6
Offset: 1

Views

Author

Benoit Cloitre, Jun 09 2002

Keywords

Programs

  • PARI
    for(n=1,200,print1(omega(binomial(2*n,n))-sum(i=1,n,isprime(i)),","))

Formula

a(n) = A067434(n) - A000720(n)