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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119562 Let F(n) = 2^(2^n) + 1 = the n-th Fermat number, M(n) = 2^n - 1 = the n-th Mersenne number. Then a(n) = F(n) - M(n) + 1 = 2^(2^n) + 1 - (2^n - 1) + 1 = 2^(2^n) - 2^n + 3. 0
4, 5, 15, 251, 65523, 4294967267, 18446744073709551555, 340282366920938463463374607431768211331, 115792089237316195423570985008687907853269984665640564039457584007913129639683 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

FORMULA

a(n) = A001146(n)-A000079(n)+3 = A119564(n)+2. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 15 2007

EXAMPLE

F(1) = 2^(2^1)+1 = 5

M(1) = 2^1-1 = 1

F(1) - M(2) + 1 = 5

PROG

(PARI) fm2(n) = for(x=0, n, y=2^(2^x)-2^x+3; print1(y", "))

CROSSREFS

Sequence in context: A006491 A051721 A050226 * A166590 A085768 A166304

Adjacent sequences:  A119559 A119560 A119561 * A119563 A119564 A119565

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 31 2006

EXTENSIONS

Definition corrected by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 15 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 00:09 EST 2012. Contains 205978 sequences.