Similar to A374525, but for each starting matrix with a choice of whether to sort by columns or rows first, such that the total number of sorting steps for this matrix is minimized.

A374526

Similar to A374525, but for each starting matrix with a choice of whether to sort by columns or rows first, such that the total number of sorting steps for this matrix is minimized.

Terms

    a(0) =2a(1) =7a(2) =7a(3) =2a(4) =45a(5) =254a(6) =212a(7) =1a(8) =650a(9) =19500a(10) =44463a(11) =899a(12) =20a(13) =4a(14) =24520a(15) =4347402a(16) =27123390a(17) =1978573a(18) =72427a(19) =7940a(20) =144a(21) =36a(22) =2625117a(23) =3107244605a(24) =53818094633a(25) =11242079280a(26) =512469215a(27) =35810192a(28) =1002242a(29) =148572

External references