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.

A088863 Number of prime factors of n-th Mersenne number M(p_n).

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 1, 2, 3, 1, 2, 2, 3, 3, 3, 2, 1, 2, 3, 3, 3, 2, 1, 2, 2, 2, 1, 2, 5, 1, 2, 2, 2, 2, 5, 4, 5, 2, 4, 3, 4, 5, 3, 2, 2, 3, 6, 2, 4, 4, 6, 2, 5, 3, 4, 2, 2, 3, 2, 3, 2, 5, 3, 4, 4, 3, 5, 2, 3, 3, 6, 5, 2, 2, 5, 3, 9, 4, 3, 5, 2, 8, 4, 4, 3, 5, 2, 4, 6, 3, 4, 2, 7, 3, 4, 4, 1, 2, 5, 4, 5, 3, 5, 4
Offset: 1

Views

Author

Jeppe Stig Nielsen, Nov 25 2003

Keywords

Examples

			a(5)=2 because M(p_5)=M(11)=2047 has 2 (not necessarily distinct) prime factors.
		

Crossrefs

Programs

  • Maple
    seq(nops(ifactor(2^ithprime(n)-1)),n=1..32); # Emeric Deutsch, Dec 23 2004
  • Mathematica
    Do[m = 2^Prime[n] - 1; Print[Plus @@ Last /@ FactorInteger[m]], {n, 1, 50}] (* Ryan Propper, Jul 31 2005 *)
  • PARI
    for(n=1,137,print1(bigomega(2^prime(n)-1)",")) \\ Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007

Formula

Extensions

14 more terms from Emeric Deutsch, Dec 23 2004
More terms from Ryan Propper, Jul 31 2005
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007