The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A137780 a(n) = 1 + 2^( prime(n + 1) - prime(n) ). 1
 3, 5, 5, 17, 5, 17, 5, 17, 65, 5, 65, 17, 5, 17, 65, 65, 5, 65, 17, 5, 65, 17, 65, 257, 17, 5, 17, 5, 17, 16385, 17, 65, 5, 1025, 5, 65, 65, 17, 65, 65, 5, 1025, 5, 17, 5, 4097, 4097, 17, 5, 17, 65, 5, 1025, 65, 65, 65, 5, 65, 17, 5, 1025, 16385, 17, 5, 17, 16385, 65, 1025, 5 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS G. C. Greubel, Table of n, a(n) for n = 1..1000 FORMULA From M. F. Hasler, Apr 21 2009: (Start) a(n) = 1 + 2^A001223(n). A001223(n) = A001511([a(n)/2]) = A007814(a(n)-1)). a(n) = 1+4^A028334(n) for n>1. (End) MATHEMATICA Table[1 + 2^(Prime[n + 1] - Prime[n]), {n, 1, 50}] (* G. C. Greubel, Feb 23 2017 *) PROG (PARI) a(n) = 1 + 2^( prime(n + 1) - prime(n) ) CROSSREFS Sequence in context: A084041 A028254 A318351 * A079372 A055382 A165235 Adjacent sequences:  A137777 A137778 A137779 * A137781 A137782 A137783 KEYWORD nonn AUTHOR Alexander R. Povolotsky, Apr 28 2008 EXTENSIONS Extended beyond a(30) by M. F. Hasler, Apr 21 2009 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.

Last modified June 23 11:02 EDT 2021. Contains 345397 sequences. (Running on oeis4.)