'Priceless'

Level pending

In the land of Trioscentos, the system of currency, the trient is remarkably different: understandable in the light that they hold the number three sacred. The denominations available are: 1 , 3 , 9 , 27... 1,3,9,27... i.e. the whole number powers of 3 3 . A rule forbids a particular denomination to be used more than once in a transaction. So, if somebody notices you carrying/paying with more than one coin of a particular denomination, you are sentenced to death. So, to purchase an article priced 6 6 trients , you do not pay two 3 3 trient coins (punishable!), but pay a 9 9 trient coin and take back 3 3 trient coin from the seller. Note that neither you nor the seller used any currency twice!

It is easy to observe that all articles can be bought however. But, is the way always unique? Let Y Y denote the sum of prices of objects less than 100 100 that may be bought in multiple ways of transaction. Find Y Y .


The answer is 0.

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.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...