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

Does squid ink pasta bleed?

Should I hide continue button until tasks are completed?

What kind of wire should I use to pigtail an outlet?

Change CPU MHz from Registry

Why aren't (poly-)cotton tents more popular?

Is adding a new player (or players) a DM decision, or a group decision?

Why does the numerical solution of an ODE move away from an unstable equilibrium?

How well known and how commonly used was Huffman coding in 1979?

Why is the voltage measurement of this circuit different when the switch is on?

How to perform Login Authentication at the client-side?

Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?

Is there any set of 2-6 notes that doesn't have a chord name?

What is the legal status of travelling with (unprescribed) methadone in your carry-on?

Smooth Julia set for quadratic polynomials

Peace Arch without exiting USA

Why would people reject a god's purely beneficial blessing?

Dimensions of list used in test

Do equal angles necessarily mean a polygon is regular?

Is it damaging to turn off a small fridge for two days every week?

How to reply to small talk/random facts in a non-offensive way?

What are the penalties for overstaying in USA?

How can I repair scratches on a painted French door?

MH370 blackbox - is it still possible to retrieve data from it?

What would earth look like at night in medieval times?



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






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








10












$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?










share|improve this question











$endgroup$


















    10












    $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?










    share|improve this question











    $endgroup$














      10












      10








      10





      $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?










      share|improve this question











      $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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 7 at 15:29







      rnaylor

















      asked Jun 7 at 13:30









      rnaylorrnaylor

      1,2711 gold badge9 silver badges22 bronze badges




      1,2711 gold badge9 silver badges22 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          16












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







          share|improve this answer











          $endgroup$








          • 8




            $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
            Jun 7 at 15:04










          • $begingroup$
            Pleasingly (but also somewhat obviously) the two days following also satisfy the condition.
            $endgroup$
            – IanF1
            Jun 16 at 21:06













          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
          );



          );













          draft saved

          draft discarded


















          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









          16












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







          share|improve this answer











          $endgroup$








          • 8




            $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
            Jun 7 at 15:04










          • $begingroup$
            Pleasingly (but also somewhat obviously) the two days following also satisfy the condition.
            $endgroup$
            – IanF1
            Jun 16 at 21:06















          16












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







          share|improve this answer











          $endgroup$








          • 8




            $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
            Jun 7 at 15:04










          • $begingroup$
            Pleasingly (but also somewhat obviously) the two days following also satisfy the condition.
            $endgroup$
            – IanF1
            Jun 16 at 21:06













          16












          16








          16





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







          share|improve this answer











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








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 7 at 13:52

























          answered Jun 7 at 13:36









          hexominohexomino

          54k5 gold badges158 silver badges250 bronze badges




          54k5 gold badges158 silver badges250 bronze badges







          • 8




            $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
            Jun 7 at 15:04










          • $begingroup$
            Pleasingly (but also somewhat obviously) the two days following also satisfy the condition.
            $endgroup$
            – IanF1
            Jun 16 at 21:06












          • 8




            $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
            Jun 7 at 15:04










          • $begingroup$
            Pleasingly (but also somewhat obviously) the two days following also satisfy the condition.
            $endgroup$
            – IanF1
            Jun 16 at 21:06







          8




          8




          $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
          Jun 7 at 15:04




          $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
          Jun 7 at 15:04












          $begingroup$
          Pleasingly (but also somewhat obviously) the two days following also satisfy the condition.
          $endgroup$
          – IanF1
          Jun 16 at 21:06




          $begingroup$
          Pleasingly (but also somewhat obviously) the two days following also satisfy the condition.
          $endgroup$
          – IanF1
          Jun 16 at 21:06

















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company