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 Solvers33
Suggested Problems
-
Back to basics 23 - Triangular matrix
1151 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
699 Solvers
-
Set the array elements whose value is 13 to 0
1458 Solvers
-
Find the dimensions of a matrix
569 Solvers
-
1790 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!