Re: [sage-combinat-devel] Re: King Tableaux

2020-03-07 Thread Nicolas M. Thiery
> Thank you for helping me. I created the function ... > > What do you think? Were you suggesting something like this? Yes indeed something like this (I did not check the exact conditions you used, but that's your expertise :-)). Now you should just have to come back to the template I sent you for

Re: [sage-combinat-devel] Re: King Tableaux

2020-03-07 Thread Soheli Das
Dear Nicolas, Thank you for helping me. I created the function: sage: def is_king_tableau(t,no_of_rows): : for i in range(no_of_rows): : if t[0][0] != 1: : return False : elif t[i][0] <= 2*i: : return False : else: :