A candite is defined as a date DD/MM/YYYY (that's right, not American) which contains consecutive digits in any order. An example of a candite is 23/06/1754 because it contains digits 0, 1, 2, 3, 4, 5, 6 and 7.
Find the first candite after the year 2015. If your answer can be represented as DD/MM/YYYY , write your answer as DD × MM × YYYY .
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.
@Sharky Kesa @Pi Han Goh Is this the required date?
Log in to reply
Yeah, it is.
Log in to reply
I am happy that I got it. :) .I suggest that you should have posted this problem on 17th June :P
Log in to reply
@Nihar Mahajan – Here's a follow-up question. Find all candites which do not contain the digit 0 in their month.
Log in to reply
@Sharky Kesa – Let if possible that the month doesn't contain 0 .Then compulsorily , M M = 1 2 and there will be only one possible solution D D = 3 0 .Thus , the first possible date is 3 0 / 1 2 / 4 5 6 7 .
Log in to reply
@Nihar Mahajan – Next follow-up question. Prove that the year must not contain a 0.
Log in to reply
@Sharky Kesa – Let if possible 0 ∈ Y Y Y Y .Then compulsorily M M = 1 2 and there will be no existing and possible solution available for D D which is a contradiction. Hence , the year must not contain a 0.
Why do you need the comment "not American"?
Problem Loading...
Note Loading...
Set Loading...
Let the date be D 1 D 2 / M 1 M 2 / Y 1 Y 2 Y 2 Y 4 .
Since we want the first candite after 2 0 1 5 , let Y 1 = 2 .
Since 2 has already been used up , one of D i will be 0 , 1 and one of M i will be 0 , 1 .So we conclude that Y i = 0 , 1 .
So we will take the least year possible , that is Y 1 Y 2 Y 2 Y 4 = 2 3 4 5 .
Since a month must be preferably earlier than the date , we have M 1 = 0 .
We see that M 2 = 1 because if its equal to 1 then , D 1 D 2 = 6 7 , 7 6 which is not possible.So to have least month we have M 1 M 2 = 0 6 .
Similarly to have least date , we have D 1 D 2 = 1 7 .
Thus the required product = 1 7 × 6 × 2 3 4 5 = 2 3 9 1 9 0