login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097530 Least k such that k*P(n)#-P(n+6) and k*P(n)#+P(n+6) are both primes with P(i)=i-th prime and P(i)#=i-th primorial. 0
10, 4, 1, 1, 3, 3, 12, 1, 4, 15, 15, 14, 15, 27, 4, 24, 4, 5, 69, 182, 140, 25, 38, 32, 176, 344, 267, 6, 262, 181, 95, 272, 232, 765, 155, 281, 292, 3, 135, 259, 100, 38, 2, 411, 182, 778, 214, 132, 228, 258, 139, 45, 192, 633, 778, 118, 669, 214, 970, 583, 611, 524 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

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

CROSSREFS

Sequence in context: A038305 A089478 A028967 * A063565 A177390 A082961

Adjacent sequences:  A097527 A097528 A097529 * A097531 A097532 A097533

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 August 7 04:39 EDT 2020. Contains 336274 sequences. (Running on oeis4.)