GATE Computer ScienceHardGATE CSE · NIELIT
What is the value of 7^(7^7) mod 100 (the last two digits of 7 raised to the power 7⁷)?
- A. 07
- B. 49
- C. 43
- D. 23
Correct answer: C. 43
7⁴ ≡ 1 (mod 100) and 7⁷ ≡ 3 (mod 4), so 7^(7⁷) ≡ 7³ = 343 ≡ 43.
More Discrete Mathematics questions
- How many equivalence relations on the set {1, 2, 3, 4, 5, 6, 7} have exactly 3 equivalence classes?
- What is the maximum number of regions into which 6 circles can divide the plane (any two circles meet in at most 2 points)?
- Over the domain {1, …, 60}, let P(a, b) mean "a divides b". How many x satisfy ∀y ∀z [(P(y,x) ∧ P(z,x)) → (P(y,z) ∨ P(z,y))], i.e. all…
- How many labelled simple graphs on the vertex set {1,…,7} are 2-regular (every vertex has degree exactly 2)?
- The Mycielskian of the 5-cycle C₅ (the Grötzsch graph, 11 vertices) is triangle-free. What is its chromatic number?
- How many distinct Hamiltonian cycles (as undirected edge sets, with no starting point or direction) does the complete bipartite graph K₄,₄…