login
Number of primes of the form (x+1)^3 - x^3 with x <= 10^n.
5

%I #19 Jan 29 2013 14:53:05

%S 1,7,42,263,1965,15282,126826

%N Number of primes of the form (x+1)^3 - x^3 with x <= 10^n.

%C Cuban primes are primes that are the difference of two consecutive cubes, p = (x+1)^3 - x^3 (A002407). They are also primes of the form 3k(k+1) + 1, where values for k+1 are in A002504.

%H Ed Pegg, Jr., <a href="http://mathworld.wolfram.com/CubanPrime.html">MathWorld: Cuban Prime</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Cuban_prime">Cuban prime</a>

%Y Cf. A002407, A002504, A003215, A113478 (number of cuban primes < 10^n).

%K nonn

%O 0,2

%A _Vladimir Pletser_, Jan 25 2013