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
Amiram Eldar, Table of n, a(n) for n = 1..341
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
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Jan 07 2002
EXTENSIONS
Edited by Robert G. Wilson v, Jan 09 2002
STATUS
approved