设A为n阶方阵,满足A^2=A,且A≠E,则A为不可逆方程?