Show that the square of any positive integer cannot be of the form 5q + 2 or 5q + 3 for any integer q.

+1 vote
348 views
asked Nov 26, 2017 in Mathematics by Golu (37,045 points) 19 169 604

Show that the square of any positive integer cannot be of the form 5q + 2 or 5q + 3 for any integer q.

1 Answer

+2 votes
answered Nov 26, 2017 by Ankit Agarwal (28,847 points) 7 33 104
selected Nov 26, 2017 by sarthaks
 
Best answer

Solution:
Let a be the positive integer and b = 5.
Then, by Euclid’s algorithm, a = 5m + r for some integer m ≥ 0 and r = 0, 1, 2, 3, 4 because 0 ≤ r < 5.
So, a = 5m or 5m + 1 or 5m + 2 or 5m + 3 or 5m + 4.
So, (5m)2 = 25m2 = 5(5m2)
= 5q, where q is any integer.
(5m + 1)2 = 25m2 + 10m + 1
= 5(5m2 + 2m) + 1
= 5q + 1, where q is any integer.
(5m + 2)2 = 25m2 + 20m + 4
= 5(5m2 + 4m) + 4
= 5q + 4, where q is any integer.
(5m + 3)2 = 25m2 + 30m + 9
= 5(5m2 + 6m + 1) + 4
= 5q + 4, where q is any integer.
(5m + 4)2 = 25m2 + 40m + 16
= 5(5m2 + 8m + 3) + 1
= 5q + 1, where q is any integer.
Hence, The square of any positive integer is of the form 5q, 5q + 1, 5q + 4 and cannot be of the form 5q + 2 or 5q + 3 for any integer q.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

One Thought Forever

“There is a close connection between getting up in the world and getting up in the morning.“
– Anon
~~~*****~~~

...