login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A181493
Numbers of the form 3*2^k which are the average of twin primes, i.e., a(n)-1 and a(n)+1 are both prime.
6
6, 12, 192, 786432
OFFSET
1,1
COMMENTS
Sequence A181490 lists the exponents k, sequences A181491 and A181492 the corresponding twin primes.
FORMULA
A181493 = A014574 intersect A007283 = A181491 + 1 = A181492 - 1 = 3*2^A181490.
A181493 = A014574 intersect A007283 = A181491 + 1 = A181492.
MATHEMATICA
Select[3 2^Range[500], PrimeQ[#-1]&&PrimeQ[#+1]&] (* Harvey P. Dale, Jan 18 2011 *)
PROG
(PARI) for( k=1, 999, ispseudoprime(3<<k-1)|next; ispseudoprime(3<<k+1)|next; print1(3<<k, ", "))
CROSSREFS
KEYWORD
nonn,bref,more
AUTHOR
M. F. Hasler, Oct 30 2010
STATUS
approved