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; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..63.

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}] (* Robert G. Wilson v, Aug 31 2004 *)

CROSSREFS

Sequence in context: A247642 A144260 A036466 * A051149 A293424 A152145

Adjacent sequences:  A097523 A097524 A097525 * A097527 A097528 A097529

KEYWORD

easy,nonn

AUTHOR

Pierre CAMI, Aug 27 2004

EXTENSIONS

More terms from Robert G. Wilson v, Aug 31 2004

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 17 07:00 EDT 2019. Contains 324183 sequences. (Running on oeis4.)