Problem:
Prove that a 9 digit decimal number whose digits are all different, which does not end with 5 and or contain a 0, cannot be a square.
Problem:
Prove that a 9 digit decimal number whose digits are all different, which does not end with 5 and or contain a 0, cannot be a square.
Solution:
Let be a 9-digit decimal number whose digits are all different, does not end with , and does not contain a .
First, since has 9 digits, and all digits are different and nonzero, the digits must be in some order.
Let us consider the sum of the digits:
So is a permutation of through , and its digit sum is .
A square number modulo can only be (since the quadratic residues modulo are , , , , , , , , ).
But has digit sum , so .
Therefore, is divisible by .
If is a perfect square, then its square root must also be divisible by (since is a square, and is divisible by ).
Let , with divisible by .
But does not end with or . The possible last digits for a square are .
But cannot end with or (by the problem statement), so the possible last digits are .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Now, consider the divisibility by :
If is divisible by , then must be divisible by .
Let us check the possible endings for so that ends with .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
Squares ending with :
ends with or .
But since is a permutation of through , it cannot end with (already excluded), and it cannot end with .
Therefore, such a number cannot be a square.