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
-
Return a list sorted by number of occurrences
2894 Solvers
-
4447 Solvers
-
Project Euler: Problem 10, Sum of Primes
2109 Solvers
-
Magic is simple (for beginners)
11428 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
601 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!