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 Solvers32
Suggested Problems
-
970 Solvers
-
Number of 1s in a binary string
11239 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
718 Solvers
-
Sum the numbers on the main diagonal
616 Solvers
-
422 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!