Floor function

Algebra Level 5

x f ( x ) = 19 x 19 90 f ( x ) 90 1900 < f ( 1990 ) < 2000 x - f(x) = 19 \left \lfloor \frac x{19} \right \rfloor - 90 \left \lfloor \frac {f(x)}{90} \right \rfloor \\ 1900 < f(1990) < 2000

Suppose f : N N f: N \rightarrow N satisfies the conditions above, find the sum of all possible values of f ( 1990 ) f(1990) .


The answer is 3898.

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

Brandon Monsen
Oct 31, 2016

Plugging in 1990 1990 for x x gets us:

14 = f ( 1990 ) 90 f ( 1990 ) 90 14=f(1990)-90\lfloor\frac{f(1990)}{90}\rfloor

Let f ( 1990 ) = 90 a + b f(1990)=90a+b for some integers a a and b b , with 0 b < 90 0\leq b<90 .

Then 90 f ( 1990 ) 90 = 90 a 90\lfloor\frac{f(1990)}{90}\rfloor=90a , and

14 = 90 a + b 90 a = b 14=90a+b-90a=b

So we are looking for all positive intgegers between 1900 1900 and 2000 2000 that are congruent to 14 m o d 90 14 \mod 90 . These are 1904 1904 and 1994 1994 , so their sum is 3898 \boxed{3898} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...