Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134064
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134064 Let P(A) be the power set of an n-element set A. Then a(n) = the number of pairs of elements {x,y} of P(A) for which either 0) x and y are intersecting but for which x is not a subset of y and y is not a subset of x, or 1) x and y are intersecting and for which either x is a proper subset of y or y is a proper subset of x, or 2) x = y. +0
1
1, 2, 6, 23, 96, 407, 1716, 7163, 29616, 121487, 495276, 2009603, 8124936, 32761367, 131834436, 529712843, 2125993056, 8525430047, 34166159196, 136858084883, 548012945976 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n) = (1/2)(4^n - 3^n + 2^n + 1) = 3*StirlingS2(n+1,4) + 2*StirlingS2(n+1,3) + StirlingS2(n+1,2) + 1.

a(n) = C(2^n + 1,2) - (1/2)(3^n - 1) = StirlingS2(2^n + 1,2^n) - StirlingS2(n+1,3) - StirlingS2(n+1,2). - Ross La Haye (rlahaye(AT)new.rr.com), Jan 21 2008 Ross

EXAMPLE

a(2) = 6 because for P(A) = {{},{1},{2},{1,2}} we have for case 1

{{1},{1,2}}, {2},{1,2}}, and we have for case 2 {{},{}}, {{1},{1}},

{{2},{2}}, {{1,2},{1,2}}. There are 0 {x,y} of P(A) in this example that

fall under case 0.

CROSSREFS

Cf. A032263, A028243, A000079.

Sequence in context: A150294 A150295 A150296 this_sequence A111283 A150297 A150298

Adjacent sequences: A134061 A134062 A134063 this_sequence A134065 A134066 A134067

KEYWORD

nonn

AUTHOR

Ross La Haye (rlahaye(AT)new.rr.com), Jan 11 2008 Ross

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 4 21:35 EST 2008. Contains 151309 sequences.


AT&T Labs Research