Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A098556
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A098556 Least k such that k*Mersenne-prime(n)+1 is prime. +0
3
2, 4, 10, 4, 46, 12, 16, 46, 52, 136, 166, 114, 336, 154, 1474, 156, 1086, 1816, 2010, 9436, 1746, 3426, 6238, 40138, 858, 4018, 17262, 15418 (list; graph; listen)
OFFSET

1,1

MATHEMATICA

mexp = {the list in A000043}; f[n_] := Block[{k = 2, mp = 2^mexp[[n]] - 1}, While[ !PrimeQ[mp*k + 1] && k < 10000, k += 2 ]; If[k == 10000, 0, k]]; Do[ Print[ f[n]], {n, 21}] (from Robert G. Wilson v Sep 17 2004)

CROSSREFS

Cf. A000043, A000668, A098555.

Sequence in context: A065299 A128942 A135445 this_sequence A159585 A130334 A124108

Adjacent sequences: A098553 A098554 A098555 this_sequence A098557 A098558 A098559

KEYWORD

hard,nonn

AUTHOR

Pierre CAMI (pierrecami(AT)tele2.fr), Sep 14 2004

EXTENSIONS

a(21)=1746 corrected, other terms verified, a(23)-a(28) extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Apr 16 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research