Next date with distinct digitsCan you find my friends' birthdayThe directions from another language?So how did the date go?Logic-grid puzzle. How do I have to interpret the clue?The Recruitment Office PuzzleFind the equality with all digitsMastermind with an errorPawns and DiscsWhat is the canonical age?Unlock an answering machine using minimum number of digits
If I leave the US through an airport, do I have to return through the same airport?
A word that means "blending into a community too much"
Understanding "Current Draw" in terms of "Ohm's Law"
Is there a DSLR/mirorless camera with minimal options like a classic, simple SLR?
Is it possible to have a wealthy country without a middle class?
Is it possible to fly backward if you have REALLY STRONG headwind?
Cardinal exponentiations inequality
How can I make 12 tone and atonal melodies sound interesting?
Is it safe to change the harddrive power feature so that it never turns off?
Whats the meaning of enp#s#f#?
How can I end combat quickly when the outcome is inevitable?
Are polynomials with the same roots identical?
My boss want to get rid of me - what should I do?
Origin of "boor"
Teaching a class likely meant to inflate the GPA of student athletes
With Ubuntu 18.04, how can I have a hot corner that locks the computer?
Advantages of the Exponential Family: why should we study it and use it?
Excel division by 0 error when trying to average results of formulas
Is there a set of positive integers of density 1 which contains no infinite arithmetic progression?
Why are MBA programs closing?
Creating an Output vs. snipping tool
60s or 70s novel about Empire of Man making 1st contact with 1st discovered alien race
Does putting salt first make it easier for attacker to bruteforce the hash?
What does 思ってやっている mean?
Next date with distinct digits
Can you find my friends' birthdayThe directions from another language?So how did the date go?Logic-grid puzzle. How do I have to interpret the clue?The Recruitment Office PuzzleFind the equality with all digitsMastermind with an errorPawns and DiscsWhat is the canonical age?Unlock an answering machine using minimum number of digits
$begingroup$
The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).
When is the next date that when written in this way has all eight digits different?
logical-deduction
$endgroup$
add a comment |
$begingroup$
The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).
When is the next date that when written in this way has all eight digits different?
logical-deduction
$endgroup$
add a comment |
$begingroup$
The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).
When is the next date that when written in this way has all eight digits different?
logical-deduction
$endgroup$
The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).
When is the next date that when written in this way has all eight digits different?
logical-deduction
logical-deduction
edited 7 hours ago
rnaylor
asked 9 hours ago
rnaylorrnaylor
1,2461921
1,2461921
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is
17/06/2345 in DD/MM/YYYY format.
Reasoning
Notice that the first M will either be $0$ or $1$.
If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.
Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
Hence the DD/MM part requires both $0$ and $1$.
After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.
$endgroup$
3
$begingroup$
I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
$endgroup$
– Gareth McCaughan♦
7 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f84795%2fnext-date-with-distinct-digits%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is
17/06/2345 in DD/MM/YYYY format.
Reasoning
Notice that the first M will either be $0$ or $1$.
If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.
Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
Hence the DD/MM part requires both $0$ and $1$.
After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.
$endgroup$
3
$begingroup$
I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
$endgroup$
– Gareth McCaughan♦
7 hours ago
add a comment |
$begingroup$
Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is
17/06/2345 in DD/MM/YYYY format.
Reasoning
Notice that the first M will either be $0$ or $1$.
If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.
Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
Hence the DD/MM part requires both $0$ and $1$.
After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.
$endgroup$
3
$begingroup$
I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
$endgroup$
– Gareth McCaughan♦
7 hours ago
add a comment |
$begingroup$
Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is
17/06/2345 in DD/MM/YYYY format.
Reasoning
Notice that the first M will either be $0$ or $1$.
If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.
Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
Hence the DD/MM part requires both $0$ and $1$.
After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.
$endgroup$
Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is
17/06/2345 in DD/MM/YYYY format.
Reasoning
Notice that the first M will either be $0$ or $1$.
If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.
Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
Hence the DD/MM part requires both $0$ and $1$.
After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.
edited 8 hours ago
answered 9 hours ago
hexominohexomino
52.4k4155247
52.4k4155247
3
$begingroup$
I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
$endgroup$
– Gareth McCaughan♦
7 hours ago
add a comment |
3
$begingroup$
I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
$endgroup$
– Gareth McCaughan♦
7 hours ago
3
3
$begingroup$
I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
$endgroup$
– Gareth McCaughan♦
7 hours ago
$begingroup$
I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
$endgroup$
– Gareth McCaughan♦
7 hours ago
add a comment |
Thanks for contributing an answer to Puzzling Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f84795%2fnext-date-with-distinct-digits%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown