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 comments
Loading...
Problem Recent Solvers31
Suggested Problems
-
Which values occur exactly three times?
5240 Solvers
-
Find common elements in matrix rows
2713 Solvers
-
Replace multiples of 5 with NaN
468 Solvers
-
16545 Solvers
-
Sum the squares of numbers from 1 to n
259 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!