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!)
A241382 Number of partitions p of n such that the number of parts is a part and max(p) - min(p) is a part. 5
0, 0, 0, 1, 0, 0, 2, 0, 1, 2, 3, 3, 6, 4, 10, 8, 12, 12, 20, 17, 29, 28, 45, 48, 68, 69, 98, 103, 134, 148, 194, 208, 271, 298, 377, 424, 528, 589, 735, 825, 1004, 1139, 1381, 1551, 1874, 2116, 2528, 2869, 3401, 3848, 4559, 5165, 6066, 6891, 8060, 9136 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
FORMULA
a(n) + A241383(n) + A241384(n) = A241386(n) for n >= 0.
EXAMPLE
a(9) counts these 2 partitions: 432, 4311.
MATHEMATICA
z = 40; f[n_] := f[n] = IntegerPartitions[n];
Table[Count[f[n], p_ /; MemberQ[p, Length[p]] && MemberQ[p, Max[p] - Min[p]]], {n, 0, z}] (* A241382 *)
Table[Count[f[n], p_ /; ! MemberQ[p, Length[p]] && MemberQ[p, Max[p] - Min[p]]], {n, 0, z}] (* A241383 *)
Table[Count[f[n], p_ /; MemberQ[p, Length[p]] && ! MemberQ[p, Max[p] - Min[p]]], {n, 0, z}] (* A241384 *)
Table[Count[f[n], p_ /; ! MemberQ[p, Length[p]] && ! MemberQ[p, Max[p] - Min[p]]], {n, 0, z}] (* A241385 *)
Table[Count[f[n], p_ /; MemberQ[p, Length[p]] || MemberQ[p, Max[p] - Min[p]]], {n, 0, z}] (* A241386 *)
CROSSREFS
Sequence in context: A201079 A318601 A306814 * A049260 A273294 A053186
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 21 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 14 02:25 EDT 2024. Contains 372528 sequences. (Running on oeis4.)