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
-
Maximum running product for a string of numbers
2142 Solvers
-
570 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
371 Solvers
-
Check that number is whole number
4161 Solvers
-
488 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!