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 Solvers30
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15467 Solvers
-
Cell Counting: How Many Draws?
1834 Solvers
-
505 Solvers
-
388 Solvers
-
Sum of first n positive integers
575 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!