$17^8\; mod \; 47 = 289^4\; mod\; 47 = (6*47 + 7)^4\;mod\;47 = 7^4\;mod\;47 $

$ 7^4 = 2401$

$\color{red}{2401\;mod\;47 = 4}$

$ 7^4 = 2401$

$\color{red}{2401\;mod\;47 = 4}$

The Gateway to Computer Science Excellence

First time here? Checkout the FAQ!

x

+3 votes

+3 votes

Best answer

We can calculate this value using property of exponentiation in modular arithmetic

**$If \ a \equiv b(modN), then\ a^{k} \equiv b^{k}(modN) \ for \ any \ positive \ integer$ k**

$17^{8}(mod47) \\ \equiv (17^{2})^{4}(mod47) \\ \equiv 7^{4}(mod)47 \ \because 289mod47=7 \\ \equiv (7^{2})^{2}(mod47) \\ \equiv 2^{2}(mod47) \ \because \ 49mod47=2 \\ \equiv 4(mod47) \\ \equiv 4$

- All categories
- General Aptitude 1.6k
- Engineering Mathematics 7.3k
- Digital Logic 2.7k
- Programming & DS 4.9k
- Algorithms 4.2k
- Theory of Computation 5.4k
- Compiler Design 2.1k
- Databases 4k
- CO & Architecture 3.5k
- Computer Networks 4.2k
- Non GATE 1.4k
- Others 1.5k
- Admissions 570
- Exam Queries 566
- Tier 1 Placement Questions 23
- Job Queries 70
- Projects 18

48,720 questions

52,820 answers

183,476 comments

68,569 users