The number x is a positive integer >100. When x is divided by 7 the remainder is 2.

<p>AND when x is divided by 10 the remainder is 8. What is the value of x?
I've read you're supposed to set it up like this:
7q+2=10k+8</p>

<p>I don't know what I'm doing :( help?</p>

<p>hallelujah the answer is 58 that took me FOREVER</p>

<p>Note the condition in the title that x must be greater than one hundred (unless that was typed incorrectly).</p>

<p>Plug in some numbers.</p>

<p>When r is 8, you have 108, 118, 128, etc.</p>

<p>When r is 2, you start with 107 and add 7. That gives 114, 121, 128, etc. </p>

<p>128 works.</p>

<p>Okay, so you find multiples of 7 that are over 100, I got 105,112,119,126,133,140
Next, you add two to each number to make sure that the answer will give remainder 2.
You end up with 107,114,121,128,133,140
Now which of those divided by 10 gives you remainder 8?
128.</p>

<p>@Xiggi I’m not following your steps, I divided 118 by 7 and didn’t get remainder 2…</p>

<p>r is 8 for 118.</p>

<p>@Dreamday
118 is being divided by 10 to give a remainder of 8, referencing the second stipulation of the question.</p>

<p>118/10 = 11 remainder 8.</p>

<p>A more purely mathematical method would be to turn both expressions into a function:</p>

<p>7q+2 = 10k+8
7q = 10k+6
q = (10k+6)/7</p>

<p>When a value of k makes q into an integer, it means that the initial equations are equal to each other. Next, the second requirement of the number being greater than 100 must be met.</p>

<p>Let k = 5.</p>

<p>q = (5*10+6)/7
q = 56/7
q = 8</p>

<p>Substitute q = 8 into the initial equation 7q+2.
7*8+2 = 56+2 = 58</p>

<p>The condition is not yet met since 58<100. Since the equation is increasing steadily with a slope of 7, the next integer number should be at k = 5+7 = 12.</p>

<p>q = (12*10+6)/7
q = 126/7
q = 18</p>

<p>Substitute q = 18 into the initial equation 7q+2.
7*18+2 = 126+2 = 128</p>

<p>oh shoot i forget whether it was supposed to be less than 100 or greater than 100. CRAP</p>

<p>nativegirl96</p>

<p>if it is less than 100 than the answer is 58.
if it is more than 100 than the answer is 128. </p>

<p>It has to end in 8 because dividing by 10 leaves a remainder of 8</p>

<p>thank you!</p>