login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A113569
Least number, k which is a multiple of a primorial, such that p-n*k, p-(n-1)k, p-(n-2)k, ... p-2k, p-k, p, p+k, p+2k, ... p+(n-2)k, p+(n-1)k and p+n*k are all prime with p being the k-th prime.
0
2, 6, 720, 252420, 2053380
OFFSET
1,1
EXAMPLE
a(1)=2 which is a multiple of a primorial.
a(2)=6 because p=13 and p-6=7 & p+6=19 all of which are prime and 6 is of the form 2*3*m, A002110.
a(3)=720 because p=5443 and p-720=4723, p-2*720=4003, p+720=6163 & p+2*720=6883 all of which are prime and 720 is of the form 2*3*5*m.
a(4)=252420 because p
MATHEMATICA
f[n_] := Block[{p = Fold[Times, 1, Prime[ Range[ n]]]},
CROSSREFS
Sequence in context: A180492 A169661 A047690 * A252739 A178773 A046857
KEYWORD
hard,nonn
AUTHOR
Robert G. Wilson v, Sep 10 2005
STATUS
approved