A155185 Primes in A155175.
5, 13, 113, 1741, 5101, 8581, 9941, 21841, 26681, 47741, 82013, 481181, 501001, 1009621, 2356621, 2542513, 3279361, 3723721, 4277813, 7757861, 8124481, 13204661, 25311613, 30772013, 44170601, 48619661, 51521401, 52541501, 54236113, 60731221, 72902813
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
lst={};Do[p=n;q=p+1;a=q^2-p^2;c=q^2+p^2;b=2*p*q;ar=a*b/2;s=a+b+c;If[PrimeQ[s-1]&&PrimeQ[s+1],If[PrimeQ[c],AppendTo[lst,c]]],{n,8!}];lst (* corrected by Ray Chandler, Feb 11 2020 *)
Extensions
Sequence corrected by Ray Chandler, Feb 11 2020
Comments