Problem 46843. Modulo with 5
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 commentsProblem Recent Solvers31
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6666 Solvers
-
Remove any row in which a NaN appears
8762 Solvers
-
Output any real number that is neither positive nor negative
407 Solvers
-
Implement a bubble sort technique and output the number of swaps required
376 Solvers
-
898 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!