cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A119645 Product of consecutive prime number of primes.

Original entry on oeis.org

6, 385, 2800733, 297194980009, 1334735302498393188221, 11619338480236377089380289447, 10619210758832202863571310834864572265523, 809071570100634918731540230003790633463788552651
Offset: 1

Views

Author

Walter Carlini, Jul 28 2006

Keywords

Examples

			a(1) = 2 * 3 = 6 (the product of the first 2 primes).
a(2) = 5 * 7 * 11 = 385 (the product of the next 3 primes).
a(3) = 13 * 17 * 19 * 23 * 29 = 2800733 (product of next 5 primes).
a(4) = 31 * 37 * 41 * 43 * 47 * 53 * 59 = 297194980009 (product next 7 primes).
		

Programs

  • Mathematica
    s[n_] := Sum[Prime[i], {i, n}]; Table[Product[Prime[j], {j, s[n - 1] + 1, s[n]}], {n, 8}] (* Arkadiusz Wesolowski, May 21 2013 *)
    Module[{nn=10,len},len=Total[Prime[Range[nn]]];Times@@@TakeList[Prime[Range[len]],Prime[Range[nn]]]] (* Harvey P. Dale, Jun 18 2025 *)

Extensions

a(4) corrected by Arkadiusz Wesolowski, May 21 2013