login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124477 Numbers n such that 24n+7 is a Mersenne prime (A000668). 25
0, 1, 5, 341, 5461, 21845, 89478485, 96076792050570581, 25790417485112089060398421, 6760803201217223474649083762005, 7089215977519551322153637654828504405 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Note that 2^m - 1 can be expressed as 24*n+7 whenever m is an odd integer >= 3. - Robert Israel, Jul 08 2014

LINKS

Michel Marcus, Table of n, a(n) for n = 1..18

MAPLE

seq((numtheory:-mersenne([i+1])-7)/24, i=1..20); # Robert Israel, Jul 08 2014

PROG

(PARI) for(n=0, 1e20, k=0; if(ispseudoprime(24*n+7), while(2^k-1 < 24*n+7, k++); if(24*n+7==2^k-1, print1(n, ", ")))) \\ Felix Fröhlich, Jul 04 2014

(PARI) lista(nn) = {vmps = readvec("b000043.txt"); if (nn== 0, nn = #vmps); for (i=1, nn, mpi = 2^vmps[i]-8; if ((mpi % 24) == 0, print1(mpi/24, ", ")); ); } \\ Michel Marcus, Jul 05 2014

CROSSREFS

Cf. A139480.

Sequence in context: A200002 A265921 A203684 * A059839 A269556 A227448

Adjacent sequences:  A124474 A124475 A124476 * A124478 A124479 A124480

KEYWORD

nonn

AUTHOR

Artur Jasinski, Dec 17 2006

EXTENSIONS

a(11) corrected by Michel Marcus, Jul 05 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified July 27 04:25 EDT 2017. Contains 289841 sequences.