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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040996 Maximum number of distinct functions at the bottom of a Boolean (or Binary) Decision Diagram (or BDD) with negation by pointer complementation. 1
1, 6, 120, 32640, 2147450880, 9223372034707292160, 170141183460469231722463931679029329920, 57896044618658097711785492504343953926464851149359812787997104700240680714240 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

At 0, the last variable, the only choice is (t, f) because the first entry is always uncomplemented and the 2nd must be different.

At level 1, the 2nd to last variable, the first entry is either t or a pointer to a following level (0) and the 2nd entry is either of these or its negation, except it may not equal the first entry.

At level n, the n-th to last variable, the first entry is either t or a pointer to one of the following levels' functions and the second entry is any of these or its negation, but not equal to the first entry

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..12

David L. Dill, BDD's

Author?, More about BDD's

FORMULA

a(n) = (S(n-1) + 1) * (2*S(n-1) + 1) where S(n-1) = sum k<n a(k).

a(n) is the (2^(2^n)-1)-th triangular number; i.e. a(n) = 2^(2^n)*(2^(2^n)-1)/2.

MATHEMATICA

f[x_]:=Module[{c=2^(2^x)}, (c(c-1))/2]; Array[f, 10, 0] (* From Harvey P. Dale, Sep 29 2011 *)

PROG

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

(MAGMA) [2^(2^n)*(2^(2^n)-1)/2: n in [0..10]]; // Vincenzo Librandi, Sep 30 2011

CROSSREFS

Sequence in context: A053777 A023199 A007539 * A110442 A137149 A053710

Adjacent sequences:  A040993 A040994 A040995 * A040997 A040998 A040999

KEYWORD

nonn

AUTHOR

R. H. Hardin (rhhardin(AT)att.net)

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 16 12:41 EST 2012. Contains 205909 sequences.