%I #7 Jun 03 2013 06:31:51
%S 1,4,3,12,5,6,3,2,3,4,5,18,3,2,3,4,5,2,7,4,9,4,17,6,3,2,9,10,7,2,19,4,
%T 3,12,7,2,3,38,3,4,11,14,25,4,9,10,5,6,9,4,5,4,7,12,15,4,9,22,17,38,7,
%U 4,5,16,5,2,9,28,11,28,17,14,3,28,9,4,5,12,3,58,5,4,11,12,13,16,21,22,7,2,7
%N Excess of n^3 over previous prime.
%e a(5)=12 because 5^3=125 and previous prime is 113 hence a(5)=125-113=12
%t Table[n^3-Prime[PrimePi[n^3]],{n,2,100}]
%t #-NextPrime[#,-1]&/@((Range[2,100])^3) (* _Harvey P. Dale_, Apr 06 2013 *)
%o (PARI) a(n) = n^3 - precprime(n^3 - 1) \\ _Michel Marcus_, Jun 03 2013
%Y Cf. A077037.
%K nonn
%O 2,2
%A _Zak Seidov_, Aug 29 2006