cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A060357 a(n) = smallest prime > lcm(1..n).

This page as a plain text file.
%I A060357 #16 Sep 08 2022 08:45:03
%S A060357 2,2,3,7,13,61,61,421,853,2521,2521,27733,27733,360391,360391,360391,
%T A060357 720743,12252259,12252259,232792561,232792561,232792561,232792561,
%U A060357 5354228921,5354228921,26771144401,26771144401,80313433231,80313433231,2329089562843,2329089562843
%N A060357 a(n) = smallest prime > lcm(1..n).
%H A060357 Vincenzo Librandi, <a href="/A060357/b060357.txt">Table of n, a(n) for n = 0..500</a>
%F A060357 a(n) = A151800(A003418(n)). - _Michel Marcus_, Mar 20 2018
%p A060357 [seq(nextprime(A003418(n)), n=0..60)];
%t A060357 Join[{2}, Table[NextPrime[LCM@@Range[n], 1], {n, 1, 30}]] (* _Vincenzo Librandi_, Mar 20 2018 *)
%o A060357 (PARI) a(n) = nextprime(lcm([1..n])+1); \\ _Michel Marcus_, Mar 18 2018
%o A060357 (Magma) [NextPrime(Lcm([1..n])): n in [0..30]]; // _Vincenzo Librandi_, Mar 20 2018
%Y A060357 Cf. A003418, A151800.
%K A060357 nonn
%O A060357 0,1
%A A060357 _N. J. A. Sloane_, Apr 01 2001