A square number can end only with digits 0 , 1 , 4 , 6 , 9 , or 25 in base 10 , as follows : In base 16 , a square number can end only with 0 , 1 , 4 or 9 and In general , if a prime p divides a square number m then the square of p must also divide m ; if p fails to divide m ∕ p , then m is definitely not square .
A square number can end only with digits 0 , 1 , 4 , 6 , 9 , or 25 in base 10 , as follows : A square number can not be a perfect number .