Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096937
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096937 Least k such that k*P(n)#/2 - 2 and k*P(n)#/2 + 2 are both primes, where P(i)= i-th prime, P(i)# = i-th primorial. +0
1
5, 3, 1, 1, 3, 1, 3, 41, 27, 3, 1, 171, 97, 19, 35, 13, 217, 57, 79, 133, 41, 219, 85, 43, 477, 205, 35, 455, 635, 275, 2081, 33, 513, 671, 427, 177, 997, 2671, 601, 123, 525, 1139, 411, 479, 363, 1311, 4685, 109, 159, 3367, 2761, 257, 161, 137, 49, 393, 3553, 1807 (list; graph; listen)
OFFSET

1,1

EXAMPLE

1*2*3*5*7/2 - 2 = 103 1*2*3*5*7/2 + 2 = 107, 103 and 107 are both primes so for n=4 k=1

MATHEMATICA

Primorial[n_] := Product[Prime[i], {i, 1, n}]; f[n_] := Block[{p = Primorial[n]/2, k = 1}, While[ !PrimeQ[k*p - 2] || !PrimeQ[k*p + 2], k++ ]; k]; Table[ f[n], {n, 50}] (from Robert G. Wilson v Aug 19 2004)

CROSSREFS

Cf. A060256.

Sequence in context: A132199 A111142 A094853 this_sequence A097527 A132400 A063268

Adjacent sequences: A096934 A096935 A096936 this_sequence A096938 A096939 A096940

KEYWORD

nonn

AUTHOR

Pierre CAMI (pierrecami(AT)tele2.fr), Aug 18 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 19 2004

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research