login
Next prime after n^3.
8

%I #30 Oct 30 2023 07:21:30

%S 2,2,11,29,67,127,223,347,521,733,1009,1361,1733,2203,2749,3389,4099,

%T 4919,5839,6863,8009,9277,10651,12197,13829,15629,17579,19687,21961,

%U 24391,27011,29803,32771,35951,39313

%N Next prime after n^3.

%C According to Borwein's Remark 1, this is an example of a sequence of primes whose mean value is in [0,1]. - _T. D. Noe_, Sep 15 2008

%C More precisely, Borwein, Choi and Coons remark that the generalized Liouville function for this sequence has mean value in (0,1). - _Jonathan Sondow_, May 19 2013

%H Michael De Vlieger, <a href="/A014220/b014220.txt">Table of n, a(n) for n = 0..10000</a> (first 1000 terms from T. D. Noe)

%H Peter Borwein, Stephen K.K. Choi and Michael Coons, <a href="http://arxiv.org/abs/0809.1691">Completely multiplicative functions taking values in {-1,1}</a>, arXiv:0809.1691 [math.NT], 2008.

%F a(n) < (n+1)^3 for n sufficiently large, by Ingham's theorem in A060199. - _Jonathan Sondow_, May 19 2013

%t NextPrime[Range[0, 100]^3] (* _Vladimir Joseph Stephan Orlovsky_, Feb 25 2010 *)

%o (PARI) a(n)=nextprime(n^3) \\ _Charles R Greathouse IV_, May 26 2015

%Y Cf. A007491, A060199.

%K nonn

%O 0,1

%A _N. J. A. Sloane_