Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A091421
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A091421 Numbers n such that n#*2^n - 1 is prime, where n# is product of prime numbers (primorials). +0
2
1, 2, 3, 4, 6, 7, 8, 15, 19, 31, 68, 69, 78, 82, 162, 210, 524 (list; graph; listen)
OFFSET

1,2

COMMENT

1# = 2 2# = 2*3 = 6 3# = 2*3*5 = 30

EXAMPLE

a(1)=1 because 1#*2^1 - 1 = 3 is prime

a(2)=2 because 2#*2^2 - 1 = 23 is prime

MATHEMATICA

For[n = 1, n < 60, n++, If[PrimeQ[2^n*Product[Prime[i], {i, 1, n}] - 1], Print[n]]] (Steinerberger)

PROGRAM

(PARI) pp(n)= s=1; for(i=1, n, s=s*prime(i)); return(s); f(n)=pp(n)!*2^n -1; for (i=1, 500, if(isprime(f(i)), print(i)))

CROSSREFS

Sequence in context: A096360 A039087 A093710 this_sequence A138936 A135604 A084826

Adjacent sequences: A091418 A091419 A091420 this_sequence A091422 A091423 A091424

KEYWORD

hard,nonn

AUTHOR

Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 02 2004

EXTENSIONS

a(17) from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Feb 06 2006

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research