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!)
A366746 Maximum distance between a partition of n and its contraconjugate. 2
1, 2, 2, 2, 2, 6, 6, 6, 8, 8, 12, 16, 20, 22, 30, 36, 42, 56, 68, 82, 118, 134, 160, 174 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
See A366745 for the definition of contraconjugate.
LINKS
MATHEMATICA
r[n_, k_] := r[n, k] = Join[p[n, k], ConstantArray[0, n - Length[p[n, k]]]];
p1[n_, k_] := p1[n, k] = Reverse[IntegerPartitions[n]][[k]];
r1[n_, k_] := r1[n, k] = Join[p1[n, k], ConstantArray[0, n - Length[p1[n, k]]]];
d[u_, v_] := Total[Abs[u - v]]; (* distance function *)
t[n_] := Flatten[Table[d[r[n, k], r1[n, k]], {k, 1, c[n]}]];
t1 = Table[Count[t[n], m], {n, 1, 24}, {m, 0, 2 n - 1, 2}]; (* A366745 *)
Map[Max, t1]
CROSSREFS
Sequence in context: A248782 A038714 A139554 * A230096 A116564 A323442
KEYWORD
nonn,more
AUTHOR
Clark Kimberling, Oct 25 2023
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 August 8 18:48 EDT 2024. Contains 375023 sequences. (Running on oeis4.)