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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060357 a(n) = smallest prime > lcm(1..n). 5
2, 2, 3, 7, 13, 61, 61, 421, 853, 2521, 2521, 27733, 27733, 360391, 360391, 360391, 720743, 12252259, 12252259, 232792561, 232792561, 232792561, 232792561, 5354228921, 5354228921, 26771144401, 26771144401, 80313433231, 80313433231, 2329089562843, 2329089562843 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..500

FORMULA

a(n) = A151800(A003418(n)). - Michel Marcus, Mar 20 2018

MAPLE

[seq(nextprime(A003418(n)), n=0..60)];

MATHEMATICA

Join[{2}, Table[NextPrime[LCM@@Range[n], 1], {n, 1, 30}]] (* Vincenzo Librandi, Mar 20 2018 *)

PROG

(PARI) a(n) = nextprime(lcm([1..n])+1); \\ Michel Marcus, Mar 18 2018

(MAGMA) [NextPrime(Lcm([1..n])): n in [0..30]]; // Vincenzo Librandi, Mar 20 2018

CROSSREFS

Cf. A003418, A151800.

Sequence in context: A109277 A093437 A075059 * A064714 A152255 A002848

Adjacent sequences:  A060354 A060355 A060356 * A060358 A060359 A060360

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Apr 01 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 15 22:48 EDT 2019. Contains 325061 sequences. (Running on oeis4.)