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 Solvers31
Suggested Problems
-
Determine whether a vector is monotonically increasing
22775 Solvers
-
Project Euler: Problem 7, Nth prime
1742 Solvers
-
Generate N equally spaced intervals between -L and L
938 Solvers
-
640 Solvers
-
Add a row of zeros on top of a matrix
265 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!