login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A066576
Composite Euclid numbers: numbers of the form p# + 1, where p# denotes the primorial of the prime p.
3
30031, 510511, 9699691, 223092871, 6469693231, 7420738134811, 304250263527211, 13082761331670031, 614889782588491411, 32589158477190044731, 1922760350154212639071, 117288381359406970983271
OFFSET
1,1
COMMENTS
30031 appears in Wells's "Curious and Interesting Numbers" as the smallest composite number of the form p# + 1.
REFERENCES
David Wells, "The Penguin Dictionary of Curious and Interesting Numbers," Revised Edition, Penguin Books, London, England, 1997, page 166.
LINKS
MATHEMATICA
Do[c = Product[ Prime[i], {i, 1, n}] + 1; If[ !PrimeQ[c], Print[c]], {n, 1, 20} ]
PROG
(Magma) [a: n in [2..19]| not IsPrime(a) where a is 1+&*[NthPrime(k):k in [1..n]]]; // Marius A. Burtea, Feb 18 2020
CROSSREFS
Sequence in context: A046324 A138206 A031853 * A104877 A237031 A027665
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Jan 07 2002
EXTENSIONS
Edited by Robert G. Wilson v, Jan 09 2002
STATUS
approved