Thanks once again ^^

Actually I have one more problem I'm stuck with, but I'm satisfied with only these 2 solutions ^_^

]]>Therefore, the number is of the form 15n+7, where n is a certain Natural number. When 15n+7 is divided by 5, since 15n is divisible by 5, the remainder is what it would be when 7 is divided by 5, hence, the remainder is 2.When 15n+7 is divided by 3, since 15n is divisible by 3, the remainder is what it would be when 7 is divided by 3, hence the remainder is 1.]]>

d = absolute value (Ax1 + By1 + c) / square root (A² + B²)

Also another problem not related to geometry is this :

When an integer is divided by 15, the remainder is 7. Find the remainders when the same integer is divided by 3 and 5.

Thanks in advance!

]]>