The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A241511 Number of partitions of n such that (number parts having multiplicity 1) is a part and (number of parts > 1) is a part. 5
0, 0, 0, 1, 1, 4, 5, 6, 9, 13, 17, 20, 26, 35, 43, 56, 67, 86, 105, 129, 158, 193, 232, 285, 350, 413, 507, 605, 740, 879, 1059, 1274, 1521, 1816, 2164, 2577, 3059, 3618, 4307, 5103, 5989, 7079, 8334, 9797, 11483, 13488, 15740, 18469, 21536, 25093, 29273 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
FORMULA
a(n) + A241512(n) + A241513(n) = A241515(n) for n >= 0.
EXAMPLE
a(6) counts these 5 partitions: 42, 411, 321, 3111, 21111.
MATHEMATICA
z = 30; f[n_] := f[n] = IntegerPartitions[n]; u[p_] := Length[DeleteDuplicates[Select[p, Count[p, #] == 1 &]]];
Table[Count[f[n], p_ /; MemberQ[p, u[p]] && MemberQ[p, Length[p] - Count[p, 1]]], {n, 0, z}] (* A241511 *)
Table[Count[f[n], p_ /; ! MemberQ[p, u[p]] && MemberQ[p, Length[p] - Count[p, 1]] ], {n, 0, z}] (* A241512 *)
Table[Count[f[n], p_ /; MemberQ[p, u[p]] && ! MemberQ[p, Length[p] - Count[p, 1]] ], {n, 0, z}] (* A241513 *)
Table[Count[f[n], p_ /; ! MemberQ[p, u[p]] && ! MemberQ[p, Length[p] - Count[p, 1]] ], {n, 0, z}] (* A241514 *)
Table[Count[f[n], p_ /; MemberQ[p, u[p]] || MemberQ[p, Length[p] - Count[p, 1]] ], {n, 0, z}] (* A241515 *)
CROSSREFS
Sequence in context: A073263 A338692 A039013 * A020669 A091730 A058076
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 24 2014
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 May 17 19:53 EDT 2024. Contains 372607 sequences. (Running on oeis4.)