Variation Of The Collatz Conjecture Discovered [closed]
$begingroup$
Consider the following operation on an arbitrary positive integer:
If the number is divisible by 12, divide it by 12.
If the number is divisible by 10, divide it by 10.
If the number is divisible by 8, divide it by 8.
If the number is divisible by 6, divide it by 6.
If the number is divisible by 4, divide it by 4.
If the number is divisible by 2, divide it by 2.
If the number is odd, multiply it by 5 and add 1.
The tests should be performed in this order.
The conjecture is: This process will eventually reach the number 1, regardless of which positive integer is chosen initially.
This can be tested by running this simple python script:
#!/usr/bin/python
for i in range(2,1000):
x = i
while x != 1:
print "{0}, ".format(x),
if x % 12 == 0:
x = x / 12
elif x % 10 == 0:
x = x / 10
elif x % 8 == 0:
x = x / 8
elif x % 6 == 0:
x = x / 6
elif x % 4 == 0:
x = x / 4
elif x % 2 == 0:
x = x / 2
else:
x = 5 * x + 1
print "n"
elementary-number-theory algorithms conjectures collatz
$endgroup$
closed as off-topic by Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste Jan 6 at 14:01
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
$begingroup$
Consider the following operation on an arbitrary positive integer:
If the number is divisible by 12, divide it by 12.
If the number is divisible by 10, divide it by 10.
If the number is divisible by 8, divide it by 8.
If the number is divisible by 6, divide it by 6.
If the number is divisible by 4, divide it by 4.
If the number is divisible by 2, divide it by 2.
If the number is odd, multiply it by 5 and add 1.
The tests should be performed in this order.
The conjecture is: This process will eventually reach the number 1, regardless of which positive integer is chosen initially.
This can be tested by running this simple python script:
#!/usr/bin/python
for i in range(2,1000):
x = i
while x != 1:
print "{0}, ".format(x),
if x % 12 == 0:
x = x / 12
elif x % 10 == 0:
x = x / 10
elif x % 8 == 0:
x = x / 8
elif x % 6 == 0:
x = x / 6
elif x % 4 == 0:
x = x / 4
elif x % 2 == 0:
x = x / 2
else:
x = 5 * x + 1
print "n"
elementary-number-theory algorithms conjectures collatz
$endgroup$
closed as off-topic by Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste Jan 6 at 14:01
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste
If this question can be reworded to fit the rules in the help center, please edit the question.
1
$begingroup$
Welcome to MSE. Can you clarify what your question is, or whether this is just an announcement of an idea?
$endgroup$
– T. Bongers
Jan 6 at 0:05
$begingroup$
Phrased as a question it would be: "is this claim true. ie does this algorithm always converge to 1...
$endgroup$
– Marcus Scipio
Jan 6 at 0:08
1
$begingroup$
Possible duplicate of Besides the $3x + 1$ problem, for which similar problems are still unresolved regarding trayectory?
$endgroup$
– Natural Number Guy
Jan 6 at 2:02
add a comment |
$begingroup$
Consider the following operation on an arbitrary positive integer:
If the number is divisible by 12, divide it by 12.
If the number is divisible by 10, divide it by 10.
If the number is divisible by 8, divide it by 8.
If the number is divisible by 6, divide it by 6.
If the number is divisible by 4, divide it by 4.
If the number is divisible by 2, divide it by 2.
If the number is odd, multiply it by 5 and add 1.
The tests should be performed in this order.
The conjecture is: This process will eventually reach the number 1, regardless of which positive integer is chosen initially.
This can be tested by running this simple python script:
#!/usr/bin/python
for i in range(2,1000):
x = i
while x != 1:
print "{0}, ".format(x),
if x % 12 == 0:
x = x / 12
elif x % 10 == 0:
x = x / 10
elif x % 8 == 0:
x = x / 8
elif x % 6 == 0:
x = x / 6
elif x % 4 == 0:
x = x / 4
elif x % 2 == 0:
x = x / 2
else:
x = 5 * x + 1
print "n"
elementary-number-theory algorithms conjectures collatz
$endgroup$
Consider the following operation on an arbitrary positive integer:
If the number is divisible by 12, divide it by 12.
If the number is divisible by 10, divide it by 10.
If the number is divisible by 8, divide it by 8.
If the number is divisible by 6, divide it by 6.
If the number is divisible by 4, divide it by 4.
If the number is divisible by 2, divide it by 2.
If the number is odd, multiply it by 5 and add 1.
The tests should be performed in this order.
The conjecture is: This process will eventually reach the number 1, regardless of which positive integer is chosen initially.
This can be tested by running this simple python script:
#!/usr/bin/python
for i in range(2,1000):
x = i
while x != 1:
print "{0}, ".format(x),
if x % 12 == 0:
x = x / 12
elif x % 10 == 0:
x = x / 10
elif x % 8 == 0:
x = x / 8
elif x % 6 == 0:
x = x / 6
elif x % 4 == 0:
x = x / 4
elif x % 2 == 0:
x = x / 2
else:
x = 5 * x + 1
print "n"
elementary-number-theory algorithms conjectures collatz
elementary-number-theory algorithms conjectures collatz
asked Jan 5 at 23:41
Marcus ScipioMarcus Scipio
244
244
closed as off-topic by Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste Jan 6 at 14:01
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste Jan 6 at 14:01
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Leucippus, user91500, José Carlos Santos, Paul Frost, Namaste
If this question can be reworded to fit the rules in the help center, please edit the question.
1
$begingroup$
Welcome to MSE. Can you clarify what your question is, or whether this is just an announcement of an idea?
$endgroup$
– T. Bongers
Jan 6 at 0:05
$begingroup$
Phrased as a question it would be: "is this claim true. ie does this algorithm always converge to 1...
$endgroup$
– Marcus Scipio
Jan 6 at 0:08
1
$begingroup$
Possible duplicate of Besides the $3x + 1$ problem, for which similar problems are still unresolved regarding trayectory?
$endgroup$
– Natural Number Guy
Jan 6 at 2:02
add a comment |
1
$begingroup$
Welcome to MSE. Can you clarify what your question is, or whether this is just an announcement of an idea?
$endgroup$
– T. Bongers
Jan 6 at 0:05
$begingroup$
Phrased as a question it would be: "is this claim true. ie does this algorithm always converge to 1...
$endgroup$
– Marcus Scipio
Jan 6 at 0:08
1
$begingroup$
Possible duplicate of Besides the $3x + 1$ problem, for which similar problems are still unresolved regarding trayectory?
$endgroup$
– Natural Number Guy
Jan 6 at 2:02
1
1
$begingroup$
Welcome to MSE. Can you clarify what your question is, or whether this is just an announcement of an idea?
$endgroup$
– T. Bongers
Jan 6 at 0:05
$begingroup$
Welcome to MSE. Can you clarify what your question is, or whether this is just an announcement of an idea?
$endgroup$
– T. Bongers
Jan 6 at 0:05
$begingroup$
Phrased as a question it would be: "is this claim true. ie does this algorithm always converge to 1...
$endgroup$
– Marcus Scipio
Jan 6 at 0:08
$begingroup$
Phrased as a question it would be: "is this claim true. ie does this algorithm always converge to 1...
$endgroup$
– Marcus Scipio
Jan 6 at 0:08
1
1
$begingroup$
Possible duplicate of Besides the $3x + 1$ problem, for which similar problems are still unresolved regarding trayectory?
$endgroup$
– Natural Number Guy
Jan 6 at 2:02
$begingroup$
Possible duplicate of Besides the $3x + 1$ problem, for which similar problems are still unresolved regarding trayectory?
$endgroup$
– Natural Number Guy
Jan 6 at 2:02
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
1
$begingroup$
Welcome to MSE. Can you clarify what your question is, or whether this is just an announcement of an idea?
$endgroup$
– T. Bongers
Jan 6 at 0:05
$begingroup$
Phrased as a question it would be: "is this claim true. ie does this algorithm always converge to 1...
$endgroup$
– Marcus Scipio
Jan 6 at 0:08
1
$begingroup$
Possible duplicate of Besides the $3x + 1$ problem, for which similar problems are still unresolved regarding trayectory?
$endgroup$
– Natural Number Guy
Jan 6 at 2:02