login
The OEIS is supported by the many generous donors 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
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
Sequence in context: A109277 A093437 A075059 * A064714 A152255 A002848
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 07:06 EDT 2024. Contains 371920 sequences. (Running on oeis4.)