Given a integer n, our goal is to find the smallest integer k, such that
divides
.
For example, for
,
, because
, (since
), and
is the smallest number that has this property. Please present the value of k in modulo
(a prime number).
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers7
Suggested Problems
-
Find the peak 3n+1 sequence value
2571 Solvers
-
Project Euler: Problem 3, Largest prime factor
1818 Solvers
-
521 Solvers
-
Cumulative minimum of an array
45 Solvers
-
62 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!