Playing Doublets with the PrimesDeleting any digit yields a prime… is there a name for this?Probability with PrimesIs there a graph with these properties?Need help with formula for generating primesPrimes from the given setGenerating pairs of primes from the 2 previous primes.Palindromic Numbers - Pattern “inside” Prime Numbers?Primes with degree oneNT Divisibility with PrimesPrime number construction game

How many Dothraki are left as of Game of Thrones S8E5?

Was Tyrion always a poor strategist?

pwaS eht tirsf dna tasl setterl fo hace dorw

Why is Drogon so much better in battle than Rhaegal and Viserion?

Why do academics prefer Mac/Linux?

In Dutch history two people are referred to as "William III"; are there any more cases where this happens?

Which of these sources for Aarakocra lifespan is correct?

How to draw pentagram-like shape in Latex?

mirror damper material

Who is frowning in the sentence "Daisy looked at Tom frowning"?

Have the writers and actors of GOT responded to its poor reception?

Why does a table with a defined constant in its index compute 10X slower?

Why wear sunglasses in indoor velodromes?

Why does string strummed with finger sound different from the one strummed with pick?

Why does the setUID bit work inconsistently?

Why would you put your input amplifier in front of your filtering for an ECG signal?

What's is the easiest way to purchase a stock and hold it

Why is so much ransomware breakable?

Can a large hemispherical planet be stable?

Why does Taylor’s series “work”?

Combining two Lorentz boosts

Largest memory peripheral for Sinclair ZX81?

Why aren't satellites disintegrated even though they orbit earth within earth's Roche Limits?

Does the talk count as invited if my PI invited me?



Playing Doublets with the Primes


Deleting any digit yields a prime… is there a name for this?Probability with PrimesIs there a graph with these properties?Need help with formula for generating primesPrimes from the given setGenerating pairs of primes from the 2 previous primes.Palindromic Numbers - Pattern “inside” Prime Numbers?Primes with degree oneNT Divisibility with PrimesPrime number construction game













5












$begingroup$


Lewis Carroll's famous game of Doublets is well known. In it you are asked to transform a given word into another by changing only one letter at a time, forming a genuine new word (not a proper name) with each letter change.



Doublets with primes is identical except that instead of playing with words you play with prime numbers, say two 3-digit primes.



Question 1. Can any 3-digit prime be transformed into any other 3-digit number following the Doublet rule?



Question 2. What is the longest distance (i.e. the largest number of links required) between two 3-digit primes?



One could ask the same questions about 4-digit primes.










share|cite|improve this question









$endgroup$
















    5












    $begingroup$


    Lewis Carroll's famous game of Doublets is well known. In it you are asked to transform a given word into another by changing only one letter at a time, forming a genuine new word (not a proper name) with each letter change.



    Doublets with primes is identical except that instead of playing with words you play with prime numbers, say two 3-digit primes.



    Question 1. Can any 3-digit prime be transformed into any other 3-digit number following the Doublet rule?



    Question 2. What is the longest distance (i.e. the largest number of links required) between two 3-digit primes?



    One could ask the same questions about 4-digit primes.










    share|cite|improve this question









    $endgroup$














      5












      5








      5





      $begingroup$


      Lewis Carroll's famous game of Doublets is well known. In it you are asked to transform a given word into another by changing only one letter at a time, forming a genuine new word (not a proper name) with each letter change.



      Doublets with primes is identical except that instead of playing with words you play with prime numbers, say two 3-digit primes.



      Question 1. Can any 3-digit prime be transformed into any other 3-digit number following the Doublet rule?



      Question 2. What is the longest distance (i.e. the largest number of links required) between two 3-digit primes?



      One could ask the same questions about 4-digit primes.










      share|cite|improve this question









      $endgroup$




      Lewis Carroll's famous game of Doublets is well known. In it you are asked to transform a given word into another by changing only one letter at a time, forming a genuine new word (not a proper name) with each letter change.



      Doublets with primes is identical except that instead of playing with words you play with prime numbers, say two 3-digit primes.



      Question 1. Can any 3-digit prime be transformed into any other 3-digit number following the Doublet rule?



      Question 2. What is the longest distance (i.e. the largest number of links required) between two 3-digit primes?



      One could ask the same questions about 4-digit primes.







      graph-theory prime-numbers hamiltonian-path






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked May 5 at 21:43









      Bernardo Recamán SantosBernardo Recamán Santos

      496212




      496212




















          2 Answers
          2






          active

          oldest

          votes


















          6












          $begingroup$

          For the first question the answer is yes, for the second question the answer is 6,



          To solve the question i used both (Java and Wolfram), the idea is this i made a graph with nodes being the primes with 3-digits and there is a line between two nodes iff the primes representing the nodes are 1-Doublet(meaning with one digit change we can transfer one into another) and then we can state you question as graph theory question which are :



          1) is the graph connected ?



          2) what is the graph diameter ?



          building the graph using Java and answering the questions using Wolfram we are done.



          it seems that this is true for any number of digits primes, but i don't think there is a simple proof.






          share|cite|improve this answer









          $endgroup$








          • 6




            $begingroup$
            Once we get to $6$ digits, the prime $294001$ has no neighbor primes, and the graph is disconnected. See weakly prime numbers.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:35











          • $begingroup$
            @MishaLavrov so for $4,5$ digits primes it works, i want to find what is the diameter!
            $endgroup$
            – Ahmad
            May 5 at 23:41






          • 2




            $begingroup$
            For 4 digits, the longest distance is 8, between 2441 and 9199 (and other pairs). For 5 digits, the longest distance is 10, between 88259 and 99721.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:49



















          9












          $begingroup$

          I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:



          Hamiltonian cycle






          share|cite|improve this answer









          $endgroup$








          • 1




            $begingroup$
            I would like this better if you included all edges somehow. Just including the edges for the (a?) Hamiltonian cycle suggests there aren't other edges. On the other hand, it would make the graph much more complicated.
            $endgroup$
            – Teepeemm
            May 6 at 1:30











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "69"
          ;
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fmath.stackexchange.com%2fquestions%2f3215119%2fplaying-doublets-with-the-primes%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6












          $begingroup$

          For the first question the answer is yes, for the second question the answer is 6,



          To solve the question i used both (Java and Wolfram), the idea is this i made a graph with nodes being the primes with 3-digits and there is a line between two nodes iff the primes representing the nodes are 1-Doublet(meaning with one digit change we can transfer one into another) and then we can state you question as graph theory question which are :



          1) is the graph connected ?



          2) what is the graph diameter ?



          building the graph using Java and answering the questions using Wolfram we are done.



          it seems that this is true for any number of digits primes, but i don't think there is a simple proof.






          share|cite|improve this answer









          $endgroup$








          • 6




            $begingroup$
            Once we get to $6$ digits, the prime $294001$ has no neighbor primes, and the graph is disconnected. See weakly prime numbers.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:35











          • $begingroup$
            @MishaLavrov so for $4,5$ digits primes it works, i want to find what is the diameter!
            $endgroup$
            – Ahmad
            May 5 at 23:41






          • 2




            $begingroup$
            For 4 digits, the longest distance is 8, between 2441 and 9199 (and other pairs). For 5 digits, the longest distance is 10, between 88259 and 99721.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:49
















          6












          $begingroup$

          For the first question the answer is yes, for the second question the answer is 6,



          To solve the question i used both (Java and Wolfram), the idea is this i made a graph with nodes being the primes with 3-digits and there is a line between two nodes iff the primes representing the nodes are 1-Doublet(meaning with one digit change we can transfer one into another) and then we can state you question as graph theory question which are :



          1) is the graph connected ?



          2) what is the graph diameter ?



          building the graph using Java and answering the questions using Wolfram we are done.



          it seems that this is true for any number of digits primes, but i don't think there is a simple proof.






          share|cite|improve this answer









          $endgroup$








          • 6




            $begingroup$
            Once we get to $6$ digits, the prime $294001$ has no neighbor primes, and the graph is disconnected. See weakly prime numbers.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:35











          • $begingroup$
            @MishaLavrov so for $4,5$ digits primes it works, i want to find what is the diameter!
            $endgroup$
            – Ahmad
            May 5 at 23:41






          • 2




            $begingroup$
            For 4 digits, the longest distance is 8, between 2441 and 9199 (and other pairs). For 5 digits, the longest distance is 10, between 88259 and 99721.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:49














          6












          6








          6





          $begingroup$

          For the first question the answer is yes, for the second question the answer is 6,



          To solve the question i used both (Java and Wolfram), the idea is this i made a graph with nodes being the primes with 3-digits and there is a line between two nodes iff the primes representing the nodes are 1-Doublet(meaning with one digit change we can transfer one into another) and then we can state you question as graph theory question which are :



          1) is the graph connected ?



          2) what is the graph diameter ?



          building the graph using Java and answering the questions using Wolfram we are done.



          it seems that this is true for any number of digits primes, but i don't think there is a simple proof.






          share|cite|improve this answer









          $endgroup$



          For the first question the answer is yes, for the second question the answer is 6,



          To solve the question i used both (Java and Wolfram), the idea is this i made a graph with nodes being the primes with 3-digits and there is a line between two nodes iff the primes representing the nodes are 1-Doublet(meaning with one digit change we can transfer one into another) and then we can state you question as graph theory question which are :



          1) is the graph connected ?



          2) what is the graph diameter ?



          building the graph using Java and answering the questions using Wolfram we are done.



          it seems that this is true for any number of digits primes, but i don't think there is a simple proof.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered May 5 at 23:11









          AhmadAhmad

          2,1921725




          2,1921725







          • 6




            $begingroup$
            Once we get to $6$ digits, the prime $294001$ has no neighbor primes, and the graph is disconnected. See weakly prime numbers.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:35











          • $begingroup$
            @MishaLavrov so for $4,5$ digits primes it works, i want to find what is the diameter!
            $endgroup$
            – Ahmad
            May 5 at 23:41






          • 2




            $begingroup$
            For 4 digits, the longest distance is 8, between 2441 and 9199 (and other pairs). For 5 digits, the longest distance is 10, between 88259 and 99721.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:49













          • 6




            $begingroup$
            Once we get to $6$ digits, the prime $294001$ has no neighbor primes, and the graph is disconnected. See weakly prime numbers.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:35











          • $begingroup$
            @MishaLavrov so for $4,5$ digits primes it works, i want to find what is the diameter!
            $endgroup$
            – Ahmad
            May 5 at 23:41






          • 2




            $begingroup$
            For 4 digits, the longest distance is 8, between 2441 and 9199 (and other pairs). For 5 digits, the longest distance is 10, between 88259 and 99721.
            $endgroup$
            – Misha Lavrov
            May 5 at 23:49








          6




          6




          $begingroup$
          Once we get to $6$ digits, the prime $294001$ has no neighbor primes, and the graph is disconnected. See weakly prime numbers.
          $endgroup$
          – Misha Lavrov
          May 5 at 23:35





          $begingroup$
          Once we get to $6$ digits, the prime $294001$ has no neighbor primes, and the graph is disconnected. See weakly prime numbers.
          $endgroup$
          – Misha Lavrov
          May 5 at 23:35













          $begingroup$
          @MishaLavrov so for $4,5$ digits primes it works, i want to find what is the diameter!
          $endgroup$
          – Ahmad
          May 5 at 23:41




          $begingroup$
          @MishaLavrov so for $4,5$ digits primes it works, i want to find what is the diameter!
          $endgroup$
          – Ahmad
          May 5 at 23:41




          2




          2




          $begingroup$
          For 4 digits, the longest distance is 8, between 2441 and 9199 (and other pairs). For 5 digits, the longest distance is 10, between 88259 and 99721.
          $endgroup$
          – Misha Lavrov
          May 5 at 23:49





          $begingroup$
          For 4 digits, the longest distance is 8, between 2441 and 9199 (and other pairs). For 5 digits, the longest distance is 10, between 88259 and 99721.
          $endgroup$
          – Misha Lavrov
          May 5 at 23:49












          9












          $begingroup$

          I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:



          Hamiltonian cycle






          share|cite|improve this answer









          $endgroup$








          • 1




            $begingroup$
            I would like this better if you included all edges somehow. Just including the edges for the (a?) Hamiltonian cycle suggests there aren't other edges. On the other hand, it would make the graph much more complicated.
            $endgroup$
            – Teepeemm
            May 6 at 1:30















          9












          $begingroup$

          I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:



          Hamiltonian cycle






          share|cite|improve this answer









          $endgroup$








          • 1




            $begingroup$
            I would like this better if you included all edges somehow. Just including the edges for the (a?) Hamiltonian cycle suggests there aren't other edges. On the other hand, it would make the graph much more complicated.
            $endgroup$
            – Teepeemm
            May 6 at 1:30













          9












          9








          9





          $begingroup$

          I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:



          Hamiltonian cycle






          share|cite|improve this answer









          $endgroup$



          I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:



          Hamiltonian cycle







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered May 6 at 0:52









          Freddy BarreraFreddy Barrera

          2264




          2264







          • 1




            $begingroup$
            I would like this better if you included all edges somehow. Just including the edges for the (a?) Hamiltonian cycle suggests there aren't other edges. On the other hand, it would make the graph much more complicated.
            $endgroup$
            – Teepeemm
            May 6 at 1:30












          • 1




            $begingroup$
            I would like this better if you included all edges somehow. Just including the edges for the (a?) Hamiltonian cycle suggests there aren't other edges. On the other hand, it would make the graph much more complicated.
            $endgroup$
            – Teepeemm
            May 6 at 1:30







          1




          1




          $begingroup$
          I would like this better if you included all edges somehow. Just including the edges for the (a?) Hamiltonian cycle suggests there aren't other edges. On the other hand, it would make the graph much more complicated.
          $endgroup$
          – Teepeemm
          May 6 at 1:30




          $begingroup$
          I would like this better if you included all edges somehow. Just including the edges for the (a?) Hamiltonian cycle suggests there aren't other edges. On the other hand, it would make the graph much more complicated.
          $endgroup$
          – Teepeemm
          May 6 at 1:30

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Mathematics 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%2fmath.stackexchange.com%2fquestions%2f3215119%2fplaying-doublets-with-the-primes%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

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

          Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos