Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A056972
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A056972 Heaps on n levels (i.e. of 2^n - 1 elements). +0
2
1, 1, 2, 80, 21964800, 74836825861835980800000, 2606654998899867556195703676289609067340669424836280320000000000 (list; graph; listen)
OFFSET

0,3

COMMENT

A sequence {a_i}_{i=1}^N forms a (binary) heap if is satisfies a_i<a_{2i} and a_i<a_{2i+1} for 1<=i<=(N-1)/2

LINKS

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

EXAMPLE

There is 1 heap on 2^0-1=0 elements, 1 heap on 2^1-1=1 element and there are 2 heaps on 2^2-1=3 elements and so on.

MAPLE

a:=n->(2^n-1)!/product((2^k-1)^(2^(n-k)), k=1..n); seq(a(i), i=0..6); - Alois P. Heinz (heinz(AT)hs-heilbronn.de), Nov 22 2007

MATHEMATICA

s[1] := 1; s[l_] := s[l] := Binomial[2^l-2, 2^(l-1)-1]s[l-1]^2; Table[s[l], {l, 10}]

CROSSREFS

Cf. A056971.

Sequence in context: A008563 A059487 A156932 this_sequence A051391 A041799 A072408

Adjacent sequences: A056969 A056970 A056971 this_sequence A056973 A056974 A056975

KEYWORD

nonn

AUTHOR

Eric Weisstein (eric(AT)weisstein.com)

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research