Let ω be a complex cube root of unity with ω≠1 and P=[pij] be an n×n matrix with pij=ω i+j. Then P2≠0, when n= [2013]
(2, 3, 4)
For n=3, P=[ω2ω3ω4ω3ω4ω5ω4ω5ω6] and P2=[000000000]
It shows P2=0 if n is a multiple of 3.
So, for P2≠0, n should not be a multiple of 3, hence n can take values 55, 56 and 58.