Smallest k such that 3^k + 2n is a prime, or 0 if no such k exists. Index of the smallest power of 3 which when increased by the n-th even number yields a prime.
A087372
Smallest k such that 3^k + 2n is a prime, or 0 if no such k exists. Index of the smallest power of 3 which when increased by the n-th even number yields a prime.
Terms
- a(0) =1a(1) =1a(2) =0a(3) =1a(4) =1a(5) =0a(6) =1a(7) =1a(8) =0a(9) =1a(10) =2a(11) =0a(12) =1a(13) =1a(14) =0a(15) =2a(16) =1a(17) =0a(18) =1a(19) =1a(20) =0a(21) =1a(22) =3a(23) =0a(24) =1a(25) =2a(26) =0a(27) =1a(28) =1a(29) =0
External references
- oeis: A087372