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!)
A220294 a(n) = 1 - 2^(2^n) + 2^(2^(n+1)). 7
3, 13, 241, 65281, 4294901761, 18446744069414584321, 340282366920938463444927863358058659841, 115792089237316195423570985008687907852929702298719625575994209400481361428481 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
An infinite coprime sequence defined by recursion.
LINKS
FORMULA
A220161(n+1) = a(n) * A220161(n).
a(n+1) = 1 + (a(n) - 1) * (A220161(n) - 1).
a(n) = A002716(2*n) = 1 + A087046(n+2) = 1 + A111403(n).
a(n) = A002061(A001146(n)). - Pontus von Brömssen, Aug 31 2021
MATHEMATICA
Table[4^(2^m) - 2^(2^m) + 1, {m, 0, 7}] (* Michael De Vlieger, Aug 02 2016 *)
PROG
(PARI) {a(n) = if( n<0, 0, 1 - 2^(2^n) + 2^(2^(n+1)))};
(Maxima) A220294(n):=1 - 2^(2^n) + 2^(2^(n+1))$ makelist(A220294(n), n, 0, 10); /* Martin Ettl, Dec 10 2012 */
(Magma) [1 - 2^(2^n) + 2^(2^(n+1)): n in [0..10]]; // G. C. Greubel, Aug 10 2018
CROSSREFS
Sequence in context: A036680 A111431 A015701 * A006487 A240618 A042823
KEYWORD
nonn
AUTHOR
Michael Somos, Dec 10 2012
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 24 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)