Please solve it...and give a optimum solution.
answer will be 1. let's say a prime no 5 (>3) 5^2=25 25/24=1 (remainder) if we take 7(>3) 7^2=49 49/24=1( 49- 2*24= 49- 48=1 remainder)