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.

A227412 Primes of the form n^3 + (n+1)^3 + 2.

This page as a plain text file.
%I A227412 #12 Sep 23 2013 14:35:33
%S A227412 11,37,191,857,2333,3061,4943,6121,9011,22817,33203,89533,105527,
%T A227412 114193,341993,421381,536771,931087,1005041,1294561,1386443,1583047,
%U A227412 1911493,2416061,4866481,5086811,5199427,5429621,7376141,7814207,8903071,9399097,9739811,9913213
%N A227412 Primes of the form n^3 + (n+1)^3 + 2.
%C A227412 Primes which are sum of two consecutive cubes plus 2.
%H A227412 K. D. Bajpai, <a href="/A227412/b227412.txt">Table of n, a(n) for n = 1..5000</a>
%F A227412 Primes of the form 2*n^3 + 3*n^2 + 3*n + 3.
%e A227412 a(2)=37: k^3+(k+1)^3+2= 2^3+3^3+2= 8+27+2= 37 which is prime.
%e A227412 a(3)=191: k^3+(k+1)^3+2= 4^3+5^3+2= 64+125+2= 191 which is prime.
%p A227412 KD:= proc() local a; a:= (k)^3+(k+1)^3+2; if isprime(a) then RETURN(a): fi;end: seq(KD(),k=1..500);
%t A227412 Select[Table[(x^3+(x+1)^3+2), {x, 1000}], PrimeQ]
%Y A227412 Cf. A027862, A227340.
%K A227412 nonn
%O A227412 1,1
%A A227412 _K. D. Bajpai_, Sep 22 2013