Keep 7 away from 9

Probability Level pending

Define S S as the set of all integers of any length such that each integer is made up of distinct digits and contains either a 7 7 or 9 9 in it, but not both (or else, 7 will eat 9 again, like how 7 8 9 (7 ate 9)). Furthermore, let T k T_k represent the k th k^{\text{th}} term in S S when the integers in S S are arranged from least to greatest (so T 1 = 7 T_1=7 , T 2 = 9 T_2=9 , T 3 = 17 T_3=17 , T 4 = 19 T_4=19 , T 5 = 27 T_5=27 , etc.). Find the sum of the digits of the value T 20014 T 2014 T_{20014}-T_{2014} .


The answer is 26.

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...