Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A092306
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A092306 Number of partitions of n such that the set of parts has an even number of elements. +0
3
0, 0, 1, 2, 5, 6, 11, 13, 17, 23, 29, 34, 47, 64, 74, 107, 136, 185, 233, 308, 392, 518, 637, 814, 1002, 1272, 1560, 1912, 2339, 2863, 3475, 4212, 5123, 6147, 7398, 8935, 10734, 12843, 15464, 18382, 22041, 26249, 31326, 37213, 44273, 52375, 62103, 73376 (list; graph; listen)
OFFSET

1,4

FORMULA

a(n) = b(n, 1, 0, 1) with b(n, i, j, f) = if i<n then b(n-i, i, i, 1-f-(1-2*f)*0^(i-j)) + b(n, i+1, j, f) else (1-f-(1-2*f)*0^(i-j))*0^(i-n). - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Feb 19 2004

G.f.: F(x)*G(x)/2, where F(x) = 1+Product(1-2*x^i, i=1..infinity) and G(x) = 1/Product(1-x^i, i=1..infinity).

a(n) = (A000041(n)+A104575(n))/2.

EXAMPLE

The partitions of five are: {{5}, {4, 1}, {3, 2}, {3, 1, 1}, {2, 2, 1}, {2, 1, 1, 1}, {1, 1, 1, 1, 1}}, The seven partitions have 1, 2, 2, 2, 2, 2 and 1 distinct parts respectfully.

n=6 has A000041(6)=11 partitions: 6, 5+1, 4+2, 4+1+1, 3+3, 3+2+1, 3+1+1+1, 2+2+2, 2+2+1+1, 2+1+1+1+1, and 1+1+1+1+1+1 with partition sets: {6}, {1,5}, {2,4}, {1,4}, {3}, {1,2,3}, {1,3}, {2}, {1,2}, {1,2}, and {1}, six of them have an even number of elements, therefore a(6)=6.

MATHEMATICA

first Needs["DiscreteMath`Combinatorica`"], then f[n_] := Count[ Mod[ Length /@ Union /@ Partitions[n], 2], 0]; Table[ f[n], {n, 1, 49}] (from Robert G. Wilson v Feb 16 2004)

CROSSREFS

Cf. A060177, A002133, A027187, A090794.

Adjacent sequences: A092303 A092304 A092305 this_sequence A092307 A092308 A092309

Sequence in context: A030130 A045845 A002133 this_sequence A090552 A024520 A015613

KEYWORD

nonn

AUTHOR

Vladeta Jovovic (vladeta(AT)Eunet.yu), Feb 12 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Feb 16 2004

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 October 10 20:39 EDT 2008. Contains 144831 sequences.


AT&T Labs Research