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!)
A240852 Number of partitions p of n into distinct parts including max(p) - min(p). 2
0, 0, 0, 1, 0, 0, 2, 0, 1, 2, 3, 0, 4, 2, 6, 4, 5, 5, 11, 7, 12, 11, 14, 16, 21, 21, 26, 28, 32, 37, 47, 46, 56, 64, 69, 81, 91, 101, 118, 131, 142, 163, 184, 201, 231, 258, 281, 319, 353, 391, 437, 485, 533, 599, 664, 727, 809, 894, 979, 1091, 1201, 1316 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
FORMULA
a(n) + A240850(n) = A000009(n) for n >= 0.
EXAMPLE
a(10) counts these 3 partitions: 541, 532, 4321.
MATHEMATICA
z = 40; f[n_] := f[n] = Select[IntegerPartitions[n], Max[Length /@ Split@#] == 1 &]; Table[Count[f[n], p_ /; MemberQ[p, Max[p] - Min[p]]], {n, 0, z}] (* A240852 *)
Table[Count[f[n], p_ /; !MemberQ[p, Max[p] - Min[p]]], {n, 0, z}] (* A240858 *)
CROSSREFS
Sequence in context: A350369 A117398 A295989 * A363612 A309816 A071486
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 14 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 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)