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.

A118755 Smallest prime >= 6*n.

This page as a plain text file.
%I A118755 #18 Mar 15 2023 12:39:21
%S A118755 2,7,13,19,29,31,37,43,53,59,61,67,73,79,89,97,97,103,109,127,127,127,
%T A118755 137,139,149,151,157,163,173,179,181,191,193,199,211,211,223,223,229,
%U A118755 239,241,251,257,263,269,271,277,283,293,307,307
%N A118755 Smallest prime >= 6*n.
%F A118755 a(n) = A007918(A008588(n)). - _Michel Marcus_, Feb 13 2021
%t A118755 Prime[1+PrimePi[6Range[0,50]]] (* _T. D. Noe_, Nov 15 2006 *)
%t A118755 NextPrime[6*Range[0,50]] (* _Harvey P. Dale_, Sep 05 2015 *)
%o A118755 (PARI) a(n) = nextprime(6*n); \\ _Michel Marcus_, Feb 13 2021
%Y A118755 Cf. A007918, A008588, A060308, A060264, A118747-A118754.
%Y A118755 A002476 is a subsequence.
%K A118755 easy,nonn
%O A118755 0,1
%A A118755 _Jonathan Vos Post_, Apr 29 2006
%E A118755 Corrected by _T. D. Noe_, Nov 15 2006