OFFSET
1,1
LINKS
Sebastian Martin Ruiz, A Result on Prime Numbers, Math. Gaz. 81, 269, 1997.
Eric Weisstein's World of Mathematics, Primorial.
Eric Weisstein's World of Mathematics, Semiprime.
EXAMPLE
4# - 1 = 209 = 11 * 19.
7# - 1 = 510509 = 61 * 8369.
10# - 1 = 6469693229 = 79 * 81894851.
MATHEMATICA
Bigomega[n_]:=Plus@@Last/@FactorInteger[n]; SemiprimeQ[n_]:=Bigomega[n]==2; Primorial[n_]:=Product[Prime[i], {i, n}]; Select[Table[Primorial[n]-1, {n, 30}], SemiprimeQ] (* Ray Chandler, Mar 28 2005 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Mar 28 2005
EXTENSIONS
Entry revised by N. J. A. Sloane, Apr 01 2006
STATUS
approved