Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.1.8 (Unit digit of a square)
Exercise 2.1.8 (Unit digit of a square)
Prove that any number that is a square must have one of the following for its unit digit: .
Answers
Proof. Let be the last digit of an integer . The following array gives the square of modulo .
Since , , so must have one of the following for its unit digit: . □
2024-08-21 10:12