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!)
A098640 a(n) = 2^p + 1 where p is the n-th prime. 11
5, 9, 33, 129, 2049, 8193, 131073, 524289, 8388609, 536870913, 2147483649, 137438953473, 2199023255553, 8796093022209, 140737488355329, 9007199254740993, 576460752303423489, 2305843009213693953 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Product_{n>=1} (1 - 1/a(n)) = A184084. - Amiram Eldar, Nov 22 2022
EXAMPLE
If p=2, 2^2+1 = 5.
If p=7, 2^7+1 = 129.
MATHEMATICA
Table[2^Prime[n] + 1, {n, 18}] (* Robert G. Wilson v, Nov 01 2004 *)
PROG
(Magma) [2^p+1: p in PrimesUpTo(100)]; // Vincenzo Librandi, Apr 29 2014
(PARI) a(n) = 2^prime(n) + 1; \\ Amiram Eldar, Nov 22 2022
CROSSREFS
Cf. A184084.
Sequence in context: A116390 A028351 A211952 * A239546 A083832 A070969
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 27 2004
EXTENSIONS
More terms from Robert G. Wilson v, Nov 01 2004
STATUS
approved

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 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)