Question 990538
Let the number be n.


n = 1 mod 2
n = 2 mod 3
n = 3 mod 4
n = 4 mod 5


The smallest value of n is 1 less than the LCM of 2, 3, 4, and 5, which is 59.