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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065380 Primes of the form p + 2^k, p prime and k >= 0. 4
3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 131, 137, 139, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 257, 263, 269, 271, 277, 281, 283, 293 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

FORMULA

A078687(A049084(a(n))) > 0; A091932 is a subsequence. - Reinhard Zumkeller, May 07 2006

EXAMPLE

a(3) = 11 = 3 + 2^3 = 7 + 2^2.

MATHEMATICA

With[{upto=300}, Select[Union[Select[Flatten[Outer[Plus, Prime[Range[ PrimePi[upto]]], 2^Range[0, Floor[Log[2, upto]]]]], PrimeQ]], #<=upto&]] (* Harvey P. Dale, Feb 28 2012 *)

PROG

(Haskell)

a065380 n = a065380_list !! (n-1)

a065380_list = filter f a000040_list where

   f p = any ((== 1) . a010051 . (p -)) $ takeWhile (<= p) a000079_list

-- Reinhard Zumkeller, Nov 24 2011

CROSSREFS

Cf. A010051, A000079, A065381, A156695.

Sequence in context: A160656 A176997 A240699 * A211075 A038134 A215697

Adjacent sequences:  A065377 A065378 A065379 * A065381 A065382 A065383

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Nov 03 2001

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 May 25 04:50 EDT 2019. Contains 323539 sequences. (Running on oeis4.)