login
Consider primes p and q such that p = 3^k + 20 and q = 3^(k+1) + 20 for some k; sequence gives values of p.
1

%I #10 Oct 01 2013 17:58:12

%S 23,29,47,101,2207,59069

%N Consider primes p and q such that p = 3^k + 20 and q = 3^(k+1) + 20 for some k; sequence gives values of p.

%e 3^1 + 20 = 23, 3^2 + 20 = 29.

%o (PARI) g(m,n,b) = { for(x=0,n, y=m+b^x+b%2; z=m+b^(x+1)+b%2; if(isprime(y)&isprime(z),print1(y",") ) ) }

%Y Cf. A108258.

%K nonn

%O 1,1

%A _Cino Hilliard_, Jun 29 2005