New currency

Brilli the Ant decided to improve the monetary system of Brilliant by introducing a series of new Brill notes featuring Brilli doing some of her favorite problems. The current monetary unit of Brilliant is 1 Brill. After long discussions in the parliament, the following restrictions were agreed upon.

  1. Each of the new Brill notes must be worth an integer number of Brills.

  2. Each of the new Brill notes must be worth at least 100 100 Brills.

  3. For all integers N 1000 N \geq 1000 , N N Brills must be expressible as a sum of several new Brill notes. Some of these notes could have the same monetary value.

What is the smallest number of new types of Brill notes that can satisfy these requirements?


The answer is 4.

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.

3 solutions

Consider the quadruple { 101 , 105 , 110 , 150 } \{101,105,110,150\} of Brill notes. I claim all values N 1000 N \geq 1000 are expressible using these. First note that we need to prove it for 1000 1000 to 1100 1100 , as all higher numbers can be achieved by adding some multiple of 101 to these numbers.

  • 1000 = 3 ( 150 ) + 5 ( 110 ) 1000 = 3(150) + 5(110) & 1100 = 10 ( 110 ) 1100 = 10(110)

For numbers N = 1000 + 10 b + c N = 1000 + 10b + c , consider the following:

  • If b , c < 5 b,c < 5 , we can write it as N = c ( 101 ) + b ( 110 ) + ( 10 b c ) 100 N = c(101) + b(110) + (10-b-c)100 for ( 10 b c ) = 3 , 6 , 7 , 9 (10-b-c) = 3,6,7,9 since 300 = 2 ( 150 ) , 600 = 4 ( 150 ) , 900 = 6 ( 150 ) , 700 = 150 + 5 ( 110 ) 300 = 2(150), 600 = 4(150), 900 = 6(150), 700 = 150 + 5(110) .

  • for ( 10 b c ) = 2 , 4 (10-b-c) = 2,4 write N = c ( 101 ) + b ( 110 ) + 200 = 4 ( 105 ) + c ( 101 ) + 110 ( b 2 ) N = c(101) + b(110) + 200 = 4(105) + c(101) + 110(b-2) [note b > 2 b>2 ] and N = c ( 101 ) + b ( 110 ) + 400 = 2 ( 150 ) + 2 ( 105 ) + c ( 101 ) + 110 ( b 1 ) N = c(101) + b(110) + 400 = 2(150) + 2(105) + c(101) + 110(b-1) [note b > 1 b>1 ] respectively.

  • for 10 b c = 5 ( b + c ) = 5 10 - b- c = 5 \rightarrow (b+c)=5 or equivalently b , c = { 1 , 4 } , { 2 , 3 } , { 3 , 2 } , { 4 , 1 } {b,c} = \{1,4\},\{2,3\},\{3,2\},\{4,1\} and correspondingly, 1014 = 9 ( 101 ) + 105 ; 1023 = 3 ( 101 ) + 4 ( 105 ) + 2 ( 150 ) 1014 = 9(101) + 105 ; 1023 = 3(101) + 4(105) + 2(150) ; 1032 = 2 ( 101 ) + 2 ( 150 ) + 110 + 4 ( 105 ) ; 1041 = 101 + 2 ( 150 ) + 2 ( 110 ) + 4 ( 105 ) ; 1032 = 2(101) + 2(150) +110 + 4(105) ; 1041 = 101 + 2(150) + 2(110) + 4(105) .

  • for 10 b c = 8 ( b + c ) = 2 10 - b- c = 8 \rightarrow (b+c)=2 or equivalently b , c = { 2 , 0 } , { 0 , 2 } , { 1 , 1 } {b,c} = \{2,0\},\{0,2\},\{1,1\} and correspondingly, 1020 = 4 ( 105 ) + 4 ( 150 ) ; 1002 = 2 ( 101 ) + 150 + 4 ( 110 ) + 2 ( 105 ) 1020 = 4(105) + 4(150) ; 1002 = 2(101) + 150 + 4(110) + 2(105) ; 1011 = 101 + 5 ( 110 ) + 150 + 2 ( 105 ) ; 1011 = 101 + 5(110) +150 + 2(105) .

  • If b > 5 , c < 5 b> 5, c<5 , we can write N = 150 + c ( 101 ) + ( b 5 ) ( 110 ) + ( 14 b c ) 100 N = 150 + c(101) + (b-5)(110) + (14-b-c)100 & then proceed as before to prove for all. If b < 5 , c > 5 b< 5, c>5 , we can write N = 105 + ( c 5 ) ( 101 ) + b ( 110 ) + ( 14 b c ) 100 N = 105 + (c-5)(101) + b(110) + (14-b-c)100 & proceed as before. If b > 5 , c > 5 b> 5, c>5 , we can write N = 150 + 105 + ( c 5 ) ( 101 ) + ( b 5 ) ( 110 ) + ( 18 b c ) 100 N = 150 + 105 + (c-5)(101) + (b-5)(110) + (18-b-c)100 & proceed as before.

Thus we have shown the above quadruple satisfies the requirements. Now we are left to show 3 3 Brill notes are not enough.

Consider not. Let the 3 Brill notes be a < b < c a < b < c . Consider the Brill values from 1000 1000 to 11 a + 1 11a+1 . Any number among them n n must be expressible as n = X a + Y b + Z c n= Xa + Yb + Zc , for 0 X , Y , Z 0 \leq X,Y,Z and X + Y + Z < 11 X + Y + Z < 11 & for smaller values, strictly X + Y + Z < 10 X + Y + Z < 10 . Since a < b < c a < b < c , & since no Brill note among the three can be of arbitrarily large value(or else the other two can satisfy it's use), we conclude X + Y + Z > 7 X + Y + Z > 7 . So for { X , Y , Z } \{X,Y,Z\} , we have ( 10 2 ) + ( 11 2 ) = 100 {10 \choose 2} + {11 \choose 2} = 100 choices (though actually choices in the specified range are much less), which cannot make up for 101 values. Thus 4 \boxed{4} is the minimum possible.

Matt McNabb
Sep 25, 2013

The following notes work: $ 100 , $ 101 , $ 110 , $ 111 \$100, \$101, \$110, \$111 . The encoding for $ N \$N is:

Let a = N m o d 100 a = N \mod 100 and divide a a by 10 10 : a = 10 q + r a = 10q + r .

Then if q + r 10 q+r \le 10 , N = q × $ 110 + r × $ 101 + ( 10 q r ) × $ 100 N = q \times \$110 + r \times \$101 + (10-q-r) \times \$100

Otherwise if q r q \ge r . N = ( q r ) × $ 110 + r × $ 111 + ( 10 q ) × $ 100 N = (q-r) \times \$110 + r \times \$111 + (10-q) \times \$100

Otherwise N = q × $ 111 + ( r q ) × $ 101 + ( 10 r ) × $ 100 N = q \times \$111 + (r-q) \times \$101 + (10-r) \times \$100

To prove that there is no solution with 3 notes we can proceed in a similar vein. Let the note values be X < X + A < X + B X < X+A < X+B . Then it is necessary (but perhaps not sufficient) to be able to represent all values m o d X \mod X as m A + n B mA + nB where m + n 10 m+n \le 10 , where the 10 10 comes from the fact that 10 X 1000 10X \ge 1000 so we need to be able to generate all values in the window [ 10 X , 11 X ) [10X, 11X) .

However there are only 12 C 2 {}^{12}C_2 possible values of m , n m,n such that m + n 10 m+n \le 10 . This is less than the minimum values of X X which is 100, therefore there is no 3-note solution.

Luca Bernardelli
Sep 23, 2013

First of all we need to obtain 1000 B. A Brill note of 100 B could do that. Now we need the possibility of changing the units, eg a note of 101 B. With these two tipes we can create any value >1000 with 0 in the tens place. With a note of 110 B we could change the tens digit, but it's not enough for values like 1099 cause we can't reach that value changing either the tens or the units. A new note of 111 will do the job.

So the solution is 4: 100, 101, 110, 111 is a possibility.

How do you know 3 isn't achievable?

Daniel Chiu - 7 years, 8 months ago

Log in to reply

How do you know 3 isn't achievable?

That's the very question that has been stumping me for hours, but I've got it now ...

Suppose the bills are worth a , b , c a,b,c Brills, respectively. There are only ( 12 2 ) = 66 {12 \choose2} = 66 nonnegative integer pairs x , y x,y with x + y 10 x+y\le 10 , and for each such pair there is at most one integer z z such that 1000 a x + b y + c z 1099 1000\le ax+by+cz \le 1099 . Therefore, at most 66 of the integers from 1000 to 1099 can be made, contradicting Restriction #3.

Peter Byers - 7 years, 8 months ago

This is a variation of Frobenius Coin Problem, largest integer that CAN'T be represented as the linear combination of three integers, let's call them {x, y, z} and gcd(x, y, z) = 1 , has a lower bound of 3 x y z x y z \sqrt{3*x*y*z} - x - y - z . Which is larger than 1000 , for any x, y, z >= 100 .

Note that there's no point in talking about greatest common divisor being anything different than one, since in that case you wouldn't be able to represent any number not divisible by gcd(x, y, z) .

Dragan Markovic - 7 years, 8 months ago

I used 100, 101, 106, 121.

Alex Porush - 7 years, 8 months ago

it's equally easy to prove that 101, 104, 116, 164 -- every other binary -- is an option.

Yezi Joy - 7 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...