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
$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.
graph-theory prime-numbers hamiltonian-path
$endgroup$
add a comment |
$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.
graph-theory prime-numbers hamiltonian-path
$endgroup$
add a comment |
$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.
graph-theory prime-numbers hamiltonian-path
$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
graph-theory prime-numbers hamiltonian-path
asked May 5 at 21:43
Bernardo Recamán SantosBernardo Recamán Santos
496212
496212
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$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.
$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
add a comment |
$begingroup$
I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:

$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
add a comment |
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
);
);
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%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
$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.
$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
add a comment |
$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.
$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
add a comment |
$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.
$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.
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
add a comment |
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
add a comment |
$begingroup$
I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:

$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
add a comment |
$begingroup$
I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:

$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
add a comment |
$begingroup$
I can confirm that the corresponding graph is connected. Moreover, it has a hamiltonian cycle:

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

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
add a comment |
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
add a comment |
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.
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%2fmath.stackexchange.com%2fquestions%2f3215119%2fplaying-doublets-with-the-primes%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