A219047 Numbers k such that 3^k - 28 is prime.
4, 6, 10, 15, 22, 24, 27, 35, 63, 91, 95, 96, 124, 132, 220, 280, 338, 372, 432, 568, 692, 738, 1144, 1168, 1698, 2080, 2138, 2710, 2895, 2984, 3536, 3816, 4462, 4972, 6588, 6666, 10350, 58991, 68854, 145806, 163500, 196192
Offset: 1
Examples
3^4 - 28 = 53 (prime), so 4 is in the sequence.
Crossrefs
Cf. Sequences of numbers k such that 3^k + m is prime:
Programs
-
Mathematica
Do[If[PrimeQ[3^n - 28], Print[n]], {n, 10000}]
-
PARI
is(n)=isprime(3^n-28) \\ Charles R Greathouse IV, Feb 17 2017
Extensions
a(37)-a(42) from Robert Price, Dec 10 2013
Comments