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.

A063989 Numbers with a prime number of prime divisors (counted with multiplicity).

Original entry on oeis.org

4, 6, 8, 9, 10, 12, 14, 15, 18, 20, 21, 22, 25, 26, 27, 28, 30, 32, 33, 34, 35, 38, 39, 42, 44, 45, 46, 48, 49, 50, 51, 52, 55, 57, 58, 62, 63, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 82, 85, 86, 87, 91, 92, 93, 94, 95, 98, 99, 102, 105, 106
Offset: 1

Views

Author

N. J. A. Sloane, Sep 18 2001

Keywords

Programs

  • Maple
    with(numtheory); a := []: for i from 1 to 300 do if isprime(bigomega(i)) then a := [op(a),i]; fi; od: a;
  • Mathematica
    Select[Range[200],PrimeQ[PrimeOmega[#]]&] (* Harvey P. Dale, Jul 25 2015 *)
  • PARI
    n=0; for (m=1, 10^9, if (isprime(bigomega(m)), write("b063989.txt", n++, " ", m); if (n==1000, break))) \\ Harry J. Smith, Sep 05 2009
    
  • PARI
    is(n)=isprime(bigomega(n)) \\ Charles R Greathouse IV, Sep 18 2015