3's and 7's

3 and 7 are coprime. For some integer ( x , y ) (x, y) , the four integer satisfied 3 x + 7 y = 1 3x+7y=1 For i = 1 , 2 , 3 , i = 1, 2, 3, \dots , let x i x_i be the sequence of positive integer x x such that x i < x i + 1 x_i < x_{i+1} , each x i x_i produce the sequence y i y_i of integer y y satisfying the equation above, and x 1 x_1 is the least positive integer x x

Find the value of i = 1 37 y i \displaystyle \sum_{i=1}^{37}|y_i| .


The answer is 2072.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Alex Delhumeau
Oct 12, 2015

The given expression can be rewritten as y = 3 x + 1 7 y=\frac{-3x+1}{7} , showing that for y y to be an integer, 3 x + 1 0 ( m o d 7 ) x 5 ( m o d 7 ) x = 5 + 7 n . -3x+1 \equiv 0\pmod{7} \Rightarrow x\equiv5\pmod{7} \Rightarrow x = 5+7n. Furthermore, we can say n 0 n \geq 0 since x 0 x \geq 0 .

Substitution now gives y = 3 ( 5 + 7 n ) + 1 7 y = 2 3 n y=\frac{-3(5+7n)+1}{7} \Rightarrow y = -2 - 3n . Taking the sum from 0 0 to 36 36 , we now get 2072 -2072 , which we make positive to get the answer.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...