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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097526 Least k such that k*P(n)#-P(n+2) and k*P(n)#+P(n+2) are both primes with P(i)=i-th prime and P(i)#=i-th primorial. 0
4, 2, 1, 1, 2, 5, 2, 7, 8, 5, 13, 36, 3, 55, 8, 5, 186, 22, 17, 45, 69, 16, 57, 1, 34, 99, 367, 15, 39, 321, 459, 17, 17, 51, 215, 608, 108, 431, 439, 346, 405, 789, 413, 268, 1744, 70, 889, 33, 42, 1883, 2489, 76, 3246, 1219, 849, 214, 870, 208, 197, 619, 323, 3418, 39 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

2*3-7=-1

2*2*3-7=5 prime 2*2*3+7=19 prime so for n=2 k=2

MATHEMATICA

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

CROSSREFS

Sequence in context: A204815 A144260 A036466 * A051149 A152145 A051758

Adjacent sequences:  A097523 A097524 A097525 * A097527 A097528 A097529

KEYWORD

easy,nonn

AUTHOR

Pierre CAMI (pierre-cami(AT)bbox.fr), Aug 27 2004

EXTENSIONS

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

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

Content is available under The OEIS End-User License Agreement .

Last modified February 16 23:45 EST 2012. Contains 205978 sequences.