login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139231 First differences of Mersenne primes A000668. 11

%I #13 Mar 31 2022 15:25:16

%S 4,24,96,8064,122880,393216,2146959360,2305843007066210304,

%T 618970017336847128235868160,162258657859193720701440560726016,

%U 170141021201192402518323912137873817600

%N First differences of Mersenne primes A000668.

%H Omar E. Pol, <a href="http://www.polprimos.com">Determinacion geometrica de los numeros primos y perfectos"</a>.

%F a(n) = A000668(n+1) - A000668(n).

%e a(1)=4 because A000668(1)=3 and A000668(2)=7 then 7-3 = 4.

%t A000668 := Select[2^Range[1000] - 1, PrimeQ]; Table[A000668[[n + 1]] - A000668[[n]], {n, 1, 10}] (* _G. C. Greubel_, Oct 03 2017 *)

%t Differences[2^MersennePrimeExponent[Range[20]]-1] (* _Harvey P. Dale_, Mar 31 2022 *)

%o (PARI) a=0; b=0; forprime(p=1, 1e2, if(ispseudoprime(2^p-1) && a==0, a=2^p-1); if(ispseudoprime(2^p-1) && a!=0, b=2^p-1; if(a!=b, print1(b-a, ", ")); a=b)) \\ _Felix Fröhlich_, Aug 12 2014

%Y Cf. A000668, A139228, A139229, A139230, A139232, A139233, A139234, A139235, A139236, A139237.

%K nonn

%O 1,1

%A _Omar E. Pol_, Apr 18 2008

%E a(8)-a(11) from _Felix Fröhlich_, Aug 12 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)