TCS
Company
what is reminder when 6^17 + 17^6 divided by 7?
1)1
2)6
3)0
4)3
Read Solution (Total 5)
-
- remainder is 1
6^17 gives unit no. is 6 and 17^6 gives unit no. 9
then 9+6=15
15%7=1 - 12 years agoHelpfull: Yes(15) No(9)
- ans:0
6^17 + 17^6=(7-1)^17 + (10+7)^6=7*n+1000000-1=7*n+999999=7*n+7*142857=7*(n+142857) - 12 years agoHelpfull: Yes(14) No(9)
- ans wl b 0....
- 12 years agoHelpfull: Yes(5) No(2)
- 7^16+16^7)/7
=7 divide by 7 gives 0 remainder and 16 divide by 7 gives 2 as remainder
So,
= (0^16 + 2^7)/7
= (0 + 128)/7
= 128/7
So remainder will be: 2
- 12 years agoHelpfull: Yes(2) No(13)
- ans:0
as 6%7=(-1)&(-1)^17=-1 i.e 6
&17^6%7=3^6%7 =2^3%7=1
hence,6+1%7=0 - 11 years agoHelpfull: Yes(1) No(0)
TCS Other Question