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!)
A241510 Number of partitions of n such that (number parts having multiplicity 1) is a part or (number of 1s) is a part. 5
0, 1, 0, 1, 2, 5, 7, 10, 13, 20, 26, 36, 50, 70, 87, 123, 159, 205, 267, 347, 441, 572, 714, 899, 1141, 1435, 1761, 2218, 2729, 3360, 4135, 5088, 6184, 7578, 9177, 11131, 13479, 16292, 19519, 23556, 28212, 33714, 40284, 48049, 57061, 67914, 80395, 95143 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
a(n) + A241509(n) = A000041(n) for n >= 0.
EXAMPLE
a(6) counts these 7 partitions: 51, 42, 411, 321, 3111, 2211, 21111.
MATHEMATICA
z = 52; 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, Count[p, 1]]], {n, 0, z}] (* A241506 *)
Table[Count[f[n], p_ /; ! MemberQ[p, u[p]] && MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241507 *)
Table[Count[f[n], p_ /; MemberQ[p, u[p]] && ! MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241508 *)
Table[Count[f[n], p_ /; ! MemberQ[p, u[p]] && ! MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241509 *)
Table[Count[f[n], p_ /; MemberQ[p, u[p]] || MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241510 *)
CROSSREFS
Sequence in context: A094065 A073593 A364451 * A088947 A288209 A071113
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 April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)