login
Numbers k such that k^6 - 2 is prime.
6

%I #13 Apr 04 2020 04:42:56

%S 3,11,17,35,37,47,49,59,67,77,99,123,127,133,139,155,161,169,173,187,

%T 195,213,225,231,237,241,245,247,253,275,279,297,319,325,367,373,381,

%U 383,385,399,411,425,431,469,507,511,523,541,545,553,569,585,589,609

%N Numbers k such that k^6 - 2 is prime.

%H Amiram Eldar, <a href="/A154933/b154933.txt">Table of n, a(n) for n = 1..10000</a>

%t lst={};Do[p=n^6-2;If[PrimeQ[p],AppendTo[lst,n]],{n,1,7!}];lst

%o (PARI) isA154933(n) = isprime(n^6-2) \\ _Michael B. Porter_, Oct 06 2009

%Y Cf. A028870, A038599, A154831, A154832, A154833, A154834.

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Jan 17 2009

%E a(1) = 0 removed by _Amiram Eldar_, Apr 04 2020