VOOZH
about
URL: https://oeis.org/A099936
⇱ A099936 - OEIS
login
A099936
Primes of the form 1 + product of first n prime gaps.
1
2, 3, 5, 17, 257, 12289, 14155777, 169869313, 4076863489, 32318253138475745281, 12806790724213976503626296721408001, 307362977381135436087031121313792001
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,1
LINKS
Harvey P. Dale,
Table of n, a(n) for n = 1..25
MATHEMATICA
w[n_]=Prime[n+1]-Prime[n] p[n_]=1+Product[w[m], {m, 2, n}] digits=60 a=Delete[Union[Table[If[PrimeQ[p[n]]==True, p[n], 0], {n, 1, digits}]], 1]
Select[FoldList[Times, Differences[Prime[Range[100]]]]+1, PrimeQ] (*
Harvey P. Dale
, Jan 02 2021 *)
PROG
(PARI) for(n=1, 60, if(isprime(p=prod(m=1, n, prime(m+1)-prime(m))+1), print1(p, ", ")))
CROSSREFS
Sequence in context:
A087911
A347565
A265426
*
A237251
A275584
A092506
Adjacent sequences:
A099933
A099934
A099935
*
A099937
A099938
A099939
KEYWORD
nonn
,
easy
AUTHOR
Roger L. Bagula
, Nov 12 2004
EXTENSIONS
Edited by
Klaus Brockhaus
, Nov 15 2004
STATUS
approved