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.

A049650 Compositorial numbers (A036691) + 1.

Original entry on oeis.org

2, 5, 25, 193, 1729, 17281, 207361, 2903041, 43545601, 696729601, 12541132801, 250822656001, 5267275776001, 115880067072001, 2781121609728001, 69528040243200001, 1807729046323200001, 48808684250726400001, 1366643159020339200001
Offset: 0

Views

Author

N. J. A. Sloane, May 05 2001

Keywords

Comments

This is to Euclid numbers (A006862): 1 + product of first n consecutive primes, as nonprimes (A018252) are to primes (A000040). These numbers - 1, times the appropriate Euclid numbers - 1, are the factorials. Primes in this sequence include a(1) = 2, a(2) = 5, a(4) = 193, a(8) = 2903041, a(12) = 250822656001, a(17) = 1807729046323200001. - Jonathan Vos Post, Jun 07 2008

Crossrefs

Programs

  • Mathematica
    Composite[n_] := FixedPoint[n + PrimePi[#] + 1 &, n + PrimePi[n] + 1]; Table[Product[Composite[i], {i, 1, n}] + 1, {n, 0, 30}] (* G. C. Greubel, Dec 05 2017 *)

Formula

a(n) = 1 + Product_{i=1..n} A002808(i). - Jonathan Vos Post, Jun 07 2008