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.

Previous Showing 11-12 of 12 results.

A135386 Mersenne composites A065341 with 4 or more prime factors.

Original entry on oeis.org

10384593717069655257060992658440191, 2854495385411919762116571938898990272765493247, 182687704666362864775460604089535377456991567871
Offset: 1

Views

Author

Artur Jasinski, Dec 09 2007

Keywords

Crossrefs

Programs

  • Maple
    A135386 := proc(n) local i;
    i := 2^(ithprime(n))-1:
    if (nops(numtheory[factorset](i)) > 3) then
       RETURN (i)
    fi: end: seq(A135386(n), n=1..37); # Jani Melik, Feb 09 2011
  • Mathematica
    k = {}; Do[If[ ! PrimeQ[2^Prime[n] - 1], c = FactorInteger[2^Prime[n] - 1]; d = Length[c]; If[d >3, AppendTo[k, 2^Prime[n] - 1]]], {n, 1, 40}]; k

A319908 Lesser of twin primes pair p, such that the Mersenne numbers 2^p - 1 and 2^(p+2) - 1 have the same number of prime factors.

Original entry on oeis.org

3, 5, 17, 71, 101, 137, 197, 269, 617, 857, 1019, 1049, 1061
Offset: 1

Views

Author

Amiram Eldar, Oct 01 2018

Keywords

Comments

The corresponding number of prime factors is 1, 1, 1, 3, 2, 2, 2, 2, 4, 4, 5, 4, 2, ...
Assuming that Mersenne numbers (2^p-1 with p prime) are always squarefree, the distinction between number of prime factors with multiplicity (A001222) and number of different prime factors (A001221) is inessential.

Examples

			3 is in the sequence since 3 and 5 are twin primes pair, and 2^3-1=7 and 2^5-1=31 are both primes, thus having the same number of prime factors.
71 is in the sequence since 71 and 73 are twin primes pair and 2^71-1 and 2^73-1 both have 3 prime factors.
		

Crossrefs

Programs

  • Mathematica
    Do[If[PrimeQ[n]&&PrimeQ[n+2]&&PrimeOmega[2^n-1]==PrimeOmega[2^(n+2)-1],Print[n]],{n,1,200}]
  • PARI
    isok(p) = isprime(p) && isprime(p+2) && (omega(2^p-1) == omega(2^(p+2)-1)); \\ Michel Marcus, Oct 02 2018
Previous Showing 11-12 of 12 results.