login
Primes of the form p+(p+1)^3, where p is also prime.
1

%I #7 Sep 08 2022 08:45:48

%S 29,67,5849,3375149,7078079,7762589,11852579,17173769,42144539,

%T 46656359,80621999,87528827,91125449,102503699,132651509,142237169,

%U 173741669,264609929,287496659,320014187,567664379,686129849,700227959,851972339

%N Primes of the form p+(p+1)^3, where p is also prime.

%C Generated by p=2, 3, 17, 149, 191, 197, 227, 257 etc.

%H Vincenzo Librandi, <a href="/A165945/b165945.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Table[p + (p + 1)^3, {p, Prime[Range[300]]}], PrimeQ] (* _Vincenzo Librandi_, Oct 12 2012 *)

%o (Magma) [a: p in PrimesInInterval(1, 1000) | IsPrime(a) where a is p + (p + 1)^3]; // _Vincenzo Librandi_, Ovt 12 2012

%Y Cf. A163426. [R. J. Mathar, Oct 28 2009]

%K nonn,easy

%O 1,1

%A _Claudio Meller_, Oct 01 2009

%E Definition shortened by _R. J. Mathar_, Oct 28 2009