Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097526
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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
1
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; listen)
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: A010312 A068930 A036466 this_sequence A051149 A051758 A024553

Adjacent sequences: A097523 A097524 A097525 this_sequence A097527 A097528 A097529

KEYWORD

easy,nonn

AUTHOR

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

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 31 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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research