%I #13 Sep 08 2022 08:45:48
%S 3,11,223,1741,5851,27031,74131,216061,1061311,1259821,2000503,
%T 4251691,5832181,13824241,21024853,30371641,37933393,49028263,
%U 54010531,67917721,84028111,123506491,162771883,185193571,191103553,216000601,229221541,250047631,264609931
%N Primes of the form p + (p-1)^3, where p is also prime.
%C Generated by p = 2, 3, 7, 13, 19, 31, 43, 61, 103, 109, 127,... [_R. J. Mathar_, Oct 28 2009]
%H Vincenzo Librandi, <a href="/A165946/b165946.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Table[Prime[i] + (Prime[i] - 1)^3, {i, 300}], PrimeQ] (* _Harvey P. Dale_, Oct 07 2009 *)
%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_, Oct 12 2012
%Y Cf. A095692, A163421. [_R. J. Mathar_, Oct 28 2009]
%K nonn,easy
%O 1,1
%A _Claudio Meller_, Oct 01 2009
%E 5 more terms from _R. J. Mathar_, Oct 28 2009