Testing values shows that the claim is not an identity.
02=0+0
22=2+2
32=9=6=3+3
To show that only 0 and 2 work, use n+n=2n. We already checked n=0. If n=0, multiply both sides of n2=2n by 1/n:
nn2=n2n,n=2.
So the equation holds exactly at n=0 and n=2. The nonzero condition is what permits cancellation.