login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038710 Smallest prime > product of first n primes. 4
2, 3, 7, 31, 211, 2311, 30047, 510529, 9699713, 223092907, 6469693291, 200560490131, 7420738134871, 304250263527281, 13082761331670077, 614889782588491517, 32589158477190044789, 1922760350154212639131 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Observe that in A035345 the first term is 3=1+2 and 1 is not a primorial number.

FORMULA

a(n) = Min[A035345(n), A018239(n)]=A002110(n)+Min[1, A005235(n)]

EXAMPLE

for n=1,2,3,4,5,11,75 A002110(n)+1 gives smaller primes than A002110(n)+p, where p is a fortunate number(prime). At n=5, both 2311 and 2333 are primes but first is smaller.

MATHEMATICA

nmax = 2^16384; npd = 1; n = 1; npd = npd*Prime[n]; While[npd < nmax, cp = npd + 1; While[ ! (PrimeQ[cp]), cp = cp + 2]; Print[cp]; n = n + 1; npd = npd*Prime[n]] (Lei Zhou (lzhou5(AT)emory.edu), Feb 15 2005)

NextPrime/@FoldList[Times, 1, Prime[Range[25]]] [From Harvey P. Dale, Dec. 17, 2010]

CROSSREFS

A002110, A005235, A035345, A018239.

Sequence in context: A081947 A046972 A006862 * A073918 A096350 A018239

Adjacent sequences:  A038707 A038708 A038709 * A038711 A038712 A038713

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), May 02 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 08:49 EST 2012. Contains 205740 sequences.