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

My perfect evil overlord plan... or is it?

I might have messed up in the 'Future Work' section of my thesis

When do you stop "pushing" a book?

How come mathematicians published in Annals of Eugenics?

Names of the Six Tastes

Integral with DiracDelta. Can Mathematica be made to solve this?

Why use steam instead of just hot air?

Publishing an article in a journal without a related degree

What's the "magic similar to the Knock spell" referenced in the Dungeon of the Mad Mage adventure?

Is there an idiom that means "revealing a secret unintentionally"?

Is there an application which does HTTP PUT?

"Estrontium" on poster

Are on’yomi words loanwords?

Is it a good idea to copy a trader when investing?

Why are thrust reversers not used to slow down to taxi speeds?

Are wands in any sort of book going to be too much like Harry Potter?

How did Captain Marvel know where to find these characters?

Why is it wrong to *implement* myself a known, published, widely believed to be secure crypto algorithm?

What's the difference between "ricochet" and "bounce"?

Compactness in normed vector spaces.

Is there a need for better software for writers?

Why did they wait for Quill to arrive?

Does Thread.yield() do anything if we have enough processors to service all threads?

How is Arya still alive?



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

      465211




      465211




















          2 Answers
          2






          active

          oldest

          votes


















          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


















          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












          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









          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

          2163




          2163







          • 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











          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,1521725




          2,1521725







          • 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


















          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

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form