wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Show that the square of any positive integer never leaves a remainder 5 or 6 when divided by 7.

Open in App
Solution

Let a be any positive integer then for aand7 by Euclid's division lemma we have,
a=7q+r, where r=0,1,2,3,4,5,6

Case 1: when r=0
a=7q

a2=49q2Case2:Whenr=1a=7q+1a2=(7q+1)2=49q2+1+14q=7(7q2+2q)+1Case3:Whenr=2a=7q+2a2=(7q+2)2=49q2+4+28qa2=7(7q2+4q)+4Case4:Whenr=3a=7q+3a2=(7q+3)2=49q2+9+42qa2=7(7q2+6q+1)+2Case5:Whenr=4a=7q+4a2=(7q+4)2=49q2+16+56qa2=7(7q2+8q+2)+2Case6:Whenr=5a=7q+5a2=(7q+5)2=49q2+25+70qa2=7(7q2+10q+3)+4Case7:Whenr=6a=7q+6a2=(7q+6)2=49q2+36+84qa2=7(7q2+12q+5)+1
Hence, from case 1 to case 7 we can say that when the square of any positive integer is divided by 7 then it never leaves 5or6

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Playing with 2 - Digit and 3 - Digit Numbers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon