login
Numbers k such that 8+k and 8*k+1 are prime.
2

%I #11 Sep 27 2024 05:39:09

%S 5,9,11,29,35,39,51,65,71,75,95,101,119,129,131,141,149,165,185,215,

%T 219,225,249,261,269,285,299,305,309,329,339,341,371,375,381,401,431,

%U 441,449,459,471,479,491,555,591,599,611,635,639,651,711,725,731,735,761

%N Numbers k such that 8+k and 8*k+1 are prime.

%H Harvey P. Dale, <a href="/A120228/b120228.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[800],AllTrue[{8+#,8#+1},PrimeQ]&] (* _Harvey P. Dale_, May 28 2016 *)

%Y Cf. A106057-A106066, A120222, A120226, A120227.

%K nonn

%O 1,1

%A _Zak Seidov_, Jun 10 2006