Problem:
Call a positive integer "mild" if its base-3 representation never contains the digit . How many values of () have the property that and are both mild?
Problem:
Call a positive integer "mild" if its base-3 representation never contains the digit . How many values of () have the property that and are both mild?
Solution:
Such a number, which must consist entirely of 's and 's in base , can never have more than one . Indeed, if higher powers where , then higher powers which will not be mild. On the other hand, if does just have one in base , then clearly and are mild. So the values of that work are ; there are of them.