login
Array read by upwards antidiagonals: majority index of "comet" C_{s,t}.
0

%I #17 Dec 10 2016 17:43:34

%S 2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,4,4,5,5,5,5,5,4,

%T 4,4,6,6,6,6,6,6,5,5,5,6,6,6,6,6,6,5,5,5,5,7,7,7,7,7,7,6,6,6,6,6,7,7,

%U 7,7,7,7,6,6,6,6,6,6

%N Array read by upwards antidiagonals: majority index of "comet" C_{s,t}.

%D Lowell W. Beineke, Michael A. Henning, Opinion functions on trees. 15th British Combinatorial Conference (Stirling, 1995). Discrete Math. 167/168 (1997), 127--139. MR1446738 (98a:05049)

%H Lowell W. Beineke, Michael A. Henning, <a href="http://dx.doi.org/10.1016/S0012-365X(96)00221-X">Opinion functions on trees</a>, Discrete Mathematics, Volumes 167-168, 15 April 1997, Pages 127-139, Selected Papers 15th British Combinatorial Conference

%e Array begins:

%e 2 2 3 3 4 4 4 4 5 5 6 6 ...

%e 2 3 3 4 4 4 4 5 5 6 6 6 ...

%e 3 3 4 4 5 4 5 5 6 6 6 6 ...

%e 3 4 4 5 5 6 5 6 6 6 6 7 ...

%e 4 4 5 5 6 6 6 6 6 6 7 7 ...

%e ...

%o (PARI) majC(s, t) = {if (t <= 5, return ((s+t)\2 + 1)); if ((6 <= t) && (t <= s+2), return ((s+t)\2 - (t-1)\3 + 2)); if (t >= s+3, return ((2*(s+t)\2)\3+2));} \\ _Michel Marcus_, Mar 30 2013

%K nonn,tabl

%O 1,1

%A _N. J. A. Sloane_, Mar 22 2012