Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A108949
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A108949 Number of partitions of n with more even parts than odd parts. +0
3
0, 1, 0, 2, 1, 3, 3, 6, 7, 10, 14, 19, 26, 33, 45, 58, 77, 97, 127, 161, 205, 259, 326, 411, 510, 639, 786, 980, 1197, 1482, 1800, 2216, 2677, 3275, 3942, 4793, 5749, 6951, 8309, 9995, 11912, 14259 (list; graph; listen)
OFFSET

1,4

EXAMPLE

a(6)=3:{[6],[4,2],[2,2,2]};a(7)=3:{[4,2,1],[3,2,2],[2,2,2,1]}

MAPLE

with(combinat, partition):evnbigrodd:=proc(n::nonnegint) local evencount, oddcount, bigcount, parts, i, j; printlevel:=-1; bigcount:=0; partitions:=partition(n); for i from 1 to nops(partitions) do evencount:=0; oddcount:=0; for j from 1 to nops(partitions[i]) do if (op(j, partitions[i]) mod 2 <>0) then oddcount:=oddcount+1 fi; if (op(j, partitions[i]) mod 2 =0) then evencount:=evencount+1 fi od; if (evencount>oddcount) then bigcount:=bigcount+1 fi od; printlevel:=1; return(bigcount) end proc; seq(evnbigrodd(i), i=1..42);

CROSSREFS

Cf. A045931 for #even parts = #odd parts, A108950 for #even parts < #odd parts.

Sequence in context: A124774 A056610 A096373 this_sequence A167704 A052959 A109522

Adjacent sequences: A108946 A108947 A108948 this_sequence A108950 A108951 A108952

KEYWORD

nonn

AUTHOR

Len Smiley ( smiley (AT) math.uaa.alaska.edu), Jul 21 2005

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 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research