login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A227230 Numbers k such that 3*2^k + {5,7} are twin primes. 0
1, 2, 3, 5, 6, 19, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

No more terms up to 10^4.

LINKS

Table of n, a(n) for n=1..7.

MATHEMATICA

Reap[Do[If[PrimeQ[a=3*2^n+5]&&PrimeQ[a+2], Sow[n]], {n, 150}]][[2, 1]]

PROG

(PARI) {for(k = 1, 10^4, if(ispseudoprime(a = 3*2^k + 5)&&ispseudoprime (a + 2), print1(k", ")))}

CROSSREFS

Cf. A071558 Smallest k such that n*k -/+ 1 are twin primes, A181490 Numbers k such that 3*2^k -/+ 1 are twin primes.

Sequence in context: A276353 A109628 A192367 * A102977 A238335 A131599

Adjacent sequences:  A227227 A227228 A227229 * A227231 A227232 A227233

KEYWORD

nonn,more

AUTHOR

Zak Seidov, Sep 20 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 23 22:20 EDT 2019. Contains 326254 sequences. (Running on oeis4.)