OFFSET
0,1
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
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..429
Hisanori Mishima, Factorizations of many number sequences
Hisanori Mishima, Factorizations of many number sequences
FORMULA
a(n) = 1 + Product_{i=1..n} A002808(i). - Jonathan Vos Post, Jun 07 2008
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 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 05 2001
STATUS
approved