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
-
Convert a vector into a number
621 Solvers
-
Count consecutive 0's in between values of 1
542 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
264 Solvers
-
150 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1896 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!