We call a number lucky if the sum of its digits are 7 . Let 2 0 1 4 be the N th lucky number .
Find the 6 N th lucky number .
Source: BdMO 2014
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.
Of course it's not a good solution...
7 16 25 34 43 52 61 70 106 115
124 133 142 151 160 205 214 223 232 241
250 304 313 322 331 340 403 412 421 430
502 511 520 601 610 700 1006 1015 1024 1033
1042 1051 1060 1105 1114 1123 1132 1141 1150 1204
1213 1222 1231 1240 1303 1312 1321 1330 1402 1411
1420 1501 1510 1600 2005 2014
Hence, N=66, the 11th number is 124.
The number of lucky numbers from 1 to 9 9 9 is the number of integral solutions to the equation x + y + z = 7 with 0 ≤ x , y , z ≤ 9 which is 3 6 using stars and bars.The number of 4-digit lucky numbers with the first digit equal to 1 is the number of non-negative solutions to the equation x + y + z = 6 which is 28.Therefore,there are 3 6 + 2 8 = 6 4 lucky numbers between 1 and 1 9 9 9 . Therefore, 2 0 0 5 must be the 6 5 th lucky number and 2 0 1 4 must be the 66th lucky number.Therefore, N = 6 6 .The final answer is derived by listing out the first 1 1 values which is an easy task.
Problem Loading...
Note Loading...
Set Loading...
Balls in urns / Stars and bars yields a total of 2 8 ⋅ 9 + 2 7 ⋅ 8 = 3 6 + 2 8 = 6 4 non-negative integral solutions to the two equations below:
a + b + c = 7 1 + a + b + c = 7
Hence there are 6 4 lucky numbers in [ 1 , 1 9 9 9 ] . So 2 0 1 4 is the 6 6 th lucky number. Again Stars and bars yields 8 non-negative integral solutions to a + b = 7 , so we need to find the 6 6 6 − 8 = 3 rd lucky number greater than 9 9 which is trivial.
The answer is 1 2 4 .