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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2059 Solvers
-
Sum all integers from 1 to 2^n
17967 Solvers
-
Make a random, non-repeating vector.
11694 Solvers
-
Unique values without using UNIQUE function
454 Solvers
-
942 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!