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 Solvers31
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52672 Solvers
-
4182 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2822 Solvers
-
485 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
356 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!