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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077585 2^(2^n-1)-1. 8
0, 1, 7, 127, 32767, 2147483647, 9223372036854775807, 170141183460469231731687303715884105727, 57896044618658097711785492504343953926634992332820282019728792003956564819967 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

a(2), a(3), a(5) and a(7) are prime; a(11) is not.

Let S be a set of n elements. First we perform a set partition on S. Let SU be the set of all nonempty subsets of S. As is well known, 2^n - 1 is the number of nonempty subsets of a set with n elements (see A000225). That is, 2^n - 1 is the number of elements |SU| of SU. In the second step, we select k elements from SU. We want to know how many different selections are possible. Let W be the resulting set of selections formed from SU. Then the number of elements |W| of W is |W| = sum((binomial(2^n-1,k)), k=1..2^n-1) = 2^(2^n-1)-1 = A077585. Example: |W(n)| = a(n=2) = 7, because W={[[1, 2]], [[1]], [[1, 2], [1]], [[1, 2], [2], [1]], [[1, 2], [2]], [[2], [1]], [[2]]}. - Thomas Wieder (thomas.wieder(AT)t-online.de), Nov 08 2007

LINKS

Eric Weisstein's World of Mathematics, Double Mersenne Number

FORMULA

a(n) =A000225(A000225(n)) =A058891(n)-1 =(A001146(n)-2)/2

a(n) = A000225(A000225(n)) = A058891(n)-1 = (A001146(n)-2)/2 = A056220(1+a(n-1)).

a(n) = sum((binomial(2^n-1,k)), k=1..2^n-1) - Thomas Wieder (thomas.wieder(AT)t-online.de), Nov 08 2007

EXAMPLE

a(5)=2^(2^5-1)-1=2^31-1=2147483647

MAPLE

ZahlDerAuswahlenAusMengeDerZerlegungenEinerMenge:=proc() local n, nend, arg, k, w; nend:=10; for n from 1 to nend do arg:=2^n-1; w[n]:=sum((binomial(arg, k)), k=1..arg); od; print(w[1], w[2], w[3], w[4], w[5], w[6], w[7], w[8], w[9], w[10]); end proc; - Thomas Wieder (thomas.wieder(AT)t-online.de), Nov 08 2007

MATHEMATICA

2^(2^Range[0, 9] - 1) - 1 (* From Vladimir Joseph Stephan Orlovsky, Jun 22 2011 *)

PROG

(PARI) a(n)=if(n<1, 0, -1+2*(1+a(n-1))^2)

(Other) sage: [stirling_number2(2^(n-1), 2) for n in xrange(1, 10)]# [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 27 2009]

CROSSREFS

Cf. A077586.

Sequence in context: A138523 A034670 A020516 * A134722 A053713 A077586

Adjacent sequences:  A077582 A077583 A077584 * A077586 A077587 A077588

KEYWORD

nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Nov 07 2002

EXTENSIONS

Corrected by Lekraj Beedassy (blekraj(AT)yahoo.com), Jan 02 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 10:05 EST 2012. Contains 206009 sequences.