Skip to main content
added 3 characters in body
Source Link

for some odd number $X$ in $A$, consider the sequence $X, 2X, 4X, 8X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such sequence. The only question then is whether to start at $X$ or $2X$. If the chainsequence has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

for some odd number $X$ in $A$, consider the sequence $X, 2X, 4X, 8X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such sequence. The only question then is whether to start at $X$ or $2X$. If the chain has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

for some odd number $X$ in $A$, consider the sequence $X, 2X, 4X, 8X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such sequence. The only question then is whether to start at $X$ or $2X$. If the sequence has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

Post Undeleted by user1502040
added 4 characters in body
Source Link

for some odd number $X$ in $A$, consider the sequence $X, 2X, 4X...$$X, 2X, 4X, 8X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such sequence. The only question then is whether to start at $X$ or $2X$. If the chain has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

for some odd number $X$ in $A$, consider the sequence $X, 2X, 4X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such sequence. The only question then is whether to start at $X$ or $2X$. If the chain has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

for some odd number $X$ in $A$, consider the sequence $X, 2X, 4X, 8X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such sequence. The only question then is whether to start at $X$ or $2X$. If the chain has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

Post Deleted by user1502040
added 6 characters in body
Source Link

for some odd number $X$ in $A$, consider the chainsequence $X, 2X, 4X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such chainsequence. The only question then is whether to start at $X$ or $2X$. If the chain has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

for some odd number $X$ in $A$, consider the chain $X, 2X, 4X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such chain. The only question then is whether to start at $X$ or $2X$. If the chain has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

for some odd number $X$ in $A$, consider the sequence $X, 2X, 4X...$ The rule that no element can be twice another is equivalent to saying that we can take at most every second element from any such sequence. The only question then is whether to start at $X$ or $2X$. If the chain has an even number of elements it doesn't matter, but otherwise we will get one more number by starting at $X$.

def greatest_subset(): result = [] for i in range(1, 256, 2): while i <= 256: result.append(i) i *= 4 return result

Source Link
Loading