[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Nov 12 2004
EXTENSIONS
Edited by Klaus Brockhaus, Nov 15 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 29 06:09 EDT 2024. Contains 375510 sequences. (Running on oeis4.)