[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Revision History for A241654 (Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A241654 Number of partitions p of n such that 2*(number of even numbers in p) = (number of odd numbers in p).
(history; published version)
#4 by N. J. A. Sloane at Sat May 03 16:53:47 EDT 2014
STATUS

proposed

approved

#3 by Clark Kimberling at Thu May 01 17:14:11 EDT 2014
STATUS

editing

proposed

#2 by Clark Kimberling at Sun Apr 27 16:37:54 EDT 2014
NAME

allocatedNumber of partitions p of n such that 2*(number of even numbers in p) = (number of odd fornumbers Clarkin Kimberlingp).

DATA

1, 0, 1, 1, 3, 4, 7, 10, 16, 22, 32, 43, 61, 79, 108, 138, 184, 231, 304, 378, 491, 605, 775, 954, 1212, 1485, 1868, 2283, 2856, 3477, 4315, 5246, 6473, 7839, 9613, 11618, 14167, 17054, 20688, 24827, 29984, 35847, 43073, 51337, 61425, 72939, 86905, 102871

OFFSET

0,5

COMMENTS

Each number in p is counted once, regardless of its multiplicity.

FORMULA

a(n) = A241653(n) + A241655(n) for n >= 0.

a(n) + A241651(n) + A241655(n) = A000041(n) for n >= 0.

EXAMPLE

a(6) counts these 7 partitions: 6, 42, 411, 321, 222, 2211, 21111.

MATHEMATICA

z = 30; f[n_] := f[n] = IntegerPartitions[n]; s0[p_] := Count[Mod[DeleteDuplicates[p], 2], 0];

s1[p_] := Count[Mod[DeleteDuplicates[p], 2], 1];

Table[Count[f[n], p_ /; 2 s0[p] < s1[p]], {n, 0, z}] (* A241651 *)

Table[Count[f[n], p_ /; 2 s0[p] <= s1[p]], {n, 0, z}] (* A241652 *)

Table[Count[f[n], p_ /; 2 s0[p] == s1[p]], {n, 0, z}] (* A241653 *)

Table[Count[f[n], p_ /; 2 s0[p] >= s1[p]], {n, 0, z}] (* A241654 *)

Table[Count[f[n], p_ /; 2 s0[p] > s1[p]], {n, 0, z}] (* A241655 *)

CROSSREFS

Cf. A241651, A241652, A241653, A241655.

KEYWORD

allocated

nonn,easy

AUTHOR

Clark Kimberling, Apr 27 2014

STATUS

approved

editing

#1 by Clark Kimberling at Sat Apr 26 11:58:30 EDT 2014
NAME

allocated for Clark Kimberling

KEYWORD

allocated

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 11:14 EDT 2024. Contains 375543 sequences. (Running on oeis4.)