login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108249 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)