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!)
A325711 Number of separable partitions of n in which the number of distinct (repeatable) parts <= 2. 1
1, 1, 2, 3, 5, 5, 8, 9, 10, 12, 14, 15, 17, 19, 19, 23, 23, 26, 26, 30, 29, 33, 32, 39, 35, 40, 39, 45, 41, 50, 44, 53, 49, 54, 51, 64, 53, 61, 59, 70, 59, 74, 62, 75, 71, 75, 68, 91, 72, 85, 79, 90, 77, 98, 83, 101, 89, 96, 86, 120 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
A partition is separable if there is an ordering of its parts in which no consecutive parts are identical. See A325534 for a guide to related sequences.
LINKS
EXAMPLE
a(6) counts these 5 partitions: [6], [5,1], [4,2], [1,4,1], [2,1,2,1].
MATHEMATICA
(separable=Table[Map[#[[1]]&, Select[Map[{#, Quotient[(1+Length[#]), Max[Map[Length, Split[#]]]]}&, IntegerPartitions[nn]], #[[2]]>1&]], {nn, 35}]);
Map[Length[Select[Map[{#, Length[Union[#]]}&, #], #[[2]]<=2&]]&, separable]
(* Peter J. C. Moses, May 08 2019 *)
CROSSREFS
Sequence in context: A188201 A184165 A152771 * A306676 A363058 A341122
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 16 2019
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 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)