Problem 46843. Modulo with 5
Find the modulo of (1^n + 2^n + 3^n + 4^n) with 5.
Note: the value of n can be very large.
Hint : refer tag
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers27
Suggested Problems
-
4111 Solvers
-
Find common elements in matrix rows
2537 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10195 Solvers
-
391 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
318 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!