Prove that for any three distinct positive integers, at least one will be greater than the xor of the other [closed]Gradualness of Polynomial-time RecognizersHow to reverse this bitwise AND-XOR encoding algorithm?Strange behavior with xor, and, or bit operations on integer offsetsProving Gale-Shapley algorithm completes in $O(n^2)$Goldbach Conjecture and the Busy Beaver function?Time constructible function in Hierarchy TheoremHow to prove/make sure that the answer to this question will be m^1/2Mathematics for Computer Science, Problem 2.6. WOPShowing an Inequality Holds TrueProof lower bound of $lceiln/2rceil$ comparisons for finding smallest and second smallest element

Loading the leaflet Map in Lightning Web Component

gerund and noun applications

What exactly term 'companion plants' means?

What is the relationship between relativity and the Doppler effect?

Generic TVP tradeoffs?

Am I eligible for the Eurail Youth pass? I am 27.5 years old

What favor did Moody owe Dumbledore?

Describing a chess game in a novel

What (if any) is the reason to buy in small local stores?

Can a medieval gyroplane be built?

What is the term when voters “dishonestly” choose something that they do not want to choose?

How do hiring committees for research positions view getting "scooped"?

Suggestions on how to spend Shaabath (constructively) alone

How can an organ that provides biological immortality be unable to regenerate?

Optimising a list searching algorithm

What does Jesus mean regarding "Raca," and "you fool?" - is he contrasting them?

Print a physical multiplication table

Can other pieces capture a threatening piece and prevent a checkmate?

Can a wizard cast a spell during their first turn of combat if they initiated combat by releasing a readied spell?

Pronounciation of the combination "st" in spanish accents

World War I as a war of liberals against authoritarians?

Are dual Irish/British citizens bound by the 90/180 day rule when travelling in the EU after Brexit?

Using Past-Perfect interchangeably with the Past Continuous

PTIJ What is the inyan of the Konami code in Uncle Moishy's song?



Prove that for any three distinct positive integers, at least one will be greater than the xor of the other [closed]


Gradualness of Polynomial-time RecognizersHow to reverse this bitwise AND-XOR encoding algorithm?Strange behavior with xor, and, or bit operations on integer offsetsProving Gale-Shapley algorithm completes in $O(n^2)$Goldbach Conjecture and the Busy Beaver function?Time constructible function in Hierarchy TheoremHow to prove/make sure that the answer to this question will be m^1/2Mathematics for Computer Science, Problem 2.6. WOPShowing an Inequality Holds TrueProof lower bound of $lceiln/2rceil$ comparisons for finding smallest and second smallest element













0












$begingroup$


That is, prove that for distinct positive integers $x$, $y$, and $z$, at least one of these integers will be greater than the bitwise XOR of the other two integers.



The only "progress" I managed to make was assuming for the sake of contradiction that we could have $x<y$ XOR $z$ and so on. Then, this would imply $x+y+z<x$ XOR $y+y$ XOR $z+z$ XOR $x$. I tried proving this was impossible but later found a counterexample :(










share|cite|improve this question









New contributor




J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$



closed as off-topic by John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath Mar 13 at 0:48


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." – John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2




    $begingroup$
    Welcome to MSE. Please give some context, in particular, tell us what you've tried so far, including anything in particular you had difficulty with. Also, letting us know where this problem comes from would be helpful. Thanks.
    $endgroup$
    – John Omielan
    Mar 12 at 20:47






  • 1




    $begingroup$
    The "bare problem statement" is disfavored, not only because it typically conveys an imperative, but also because it fails to disclose what you find interesting or difficult about the problem. Showing that you digested the problem's meaning before posting will often encourage Readers to provide the best exposition they can.
    $endgroup$
    – hardmath
    Mar 13 at 0:47
















0












$begingroup$


That is, prove that for distinct positive integers $x$, $y$, and $z$, at least one of these integers will be greater than the bitwise XOR of the other two integers.



The only "progress" I managed to make was assuming for the sake of contradiction that we could have $x<y$ XOR $z$ and so on. Then, this would imply $x+y+z<x$ XOR $y+y$ XOR $z+z$ XOR $x$. I tried proving this was impossible but later found a counterexample :(










share|cite|improve this question









New contributor




J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$



closed as off-topic by John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath Mar 13 at 0:48


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." – John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2




    $begingroup$
    Welcome to MSE. Please give some context, in particular, tell us what you've tried so far, including anything in particular you had difficulty with. Also, letting us know where this problem comes from would be helpful. Thanks.
    $endgroup$
    – John Omielan
    Mar 12 at 20:47






  • 1




    $begingroup$
    The "bare problem statement" is disfavored, not only because it typically conveys an imperative, but also because it fails to disclose what you find interesting or difficult about the problem. Showing that you digested the problem's meaning before posting will often encourage Readers to provide the best exposition they can.
    $endgroup$
    – hardmath
    Mar 13 at 0:47














0












0








0





$begingroup$


That is, prove that for distinct positive integers $x$, $y$, and $z$, at least one of these integers will be greater than the bitwise XOR of the other two integers.



The only "progress" I managed to make was assuming for the sake of contradiction that we could have $x<y$ XOR $z$ and so on. Then, this would imply $x+y+z<x$ XOR $y+y$ XOR $z+z$ XOR $x$. I tried proving this was impossible but later found a counterexample :(










share|cite|improve this question









New contributor




J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




That is, prove that for distinct positive integers $x$, $y$, and $z$, at least one of these integers will be greater than the bitwise XOR of the other two integers.



The only "progress" I managed to make was assuming for the sake of contradiction that we could have $x<y$ XOR $z$ and so on. Then, this would imply $x+y+z<x$ XOR $y+y$ XOR $z+z$ XOR $x$. I tried proving this was impossible but later found a counterexample :(







computer-science bit-strings






share|cite|improve this question









New contributor




J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited Mar 13 at 1:18







J. Tyme













New contributor




J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 12 at 20:46









J. TymeJ. Tyme

11




11




New contributor




J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






J. Tyme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




closed as off-topic by John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath Mar 13 at 0:48


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." – John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath
If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath Mar 13 at 0:48


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." – John Omielan, Eevee Trainer, Lee David Chung Lin, Shailesh, hardmath
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 2




    $begingroup$
    Welcome to MSE. Please give some context, in particular, tell us what you've tried so far, including anything in particular you had difficulty with. Also, letting us know where this problem comes from would be helpful. Thanks.
    $endgroup$
    – John Omielan
    Mar 12 at 20:47






  • 1




    $begingroup$
    The "bare problem statement" is disfavored, not only because it typically conveys an imperative, but also because it fails to disclose what you find interesting or difficult about the problem. Showing that you digested the problem's meaning before posting will often encourage Readers to provide the best exposition they can.
    $endgroup$
    – hardmath
    Mar 13 at 0:47













  • 2




    $begingroup$
    Welcome to MSE. Please give some context, in particular, tell us what you've tried so far, including anything in particular you had difficulty with. Also, letting us know where this problem comes from would be helpful. Thanks.
    $endgroup$
    – John Omielan
    Mar 12 at 20:47






  • 1




    $begingroup$
    The "bare problem statement" is disfavored, not only because it typically conveys an imperative, but also because it fails to disclose what you find interesting or difficult about the problem. Showing that you digested the problem's meaning before posting will often encourage Readers to provide the best exposition they can.
    $endgroup$
    – hardmath
    Mar 13 at 0:47








2




2




$begingroup$
Welcome to MSE. Please give some context, in particular, tell us what you've tried so far, including anything in particular you had difficulty with. Also, letting us know where this problem comes from would be helpful. Thanks.
$endgroup$
– John Omielan
Mar 12 at 20:47




$begingroup$
Welcome to MSE. Please give some context, in particular, tell us what you've tried so far, including anything in particular you had difficulty with. Also, letting us know where this problem comes from would be helpful. Thanks.
$endgroup$
– John Omielan
Mar 12 at 20:47




1




1




$begingroup$
The "bare problem statement" is disfavored, not only because it typically conveys an imperative, but also because it fails to disclose what you find interesting or difficult about the problem. Showing that you digested the problem's meaning before posting will often encourage Readers to provide the best exposition they can.
$endgroup$
– hardmath
Mar 13 at 0:47





$begingroup$
The "bare problem statement" is disfavored, not only because it typically conveys an imperative, but also because it fails to disclose what you find interesting or difficult about the problem. Showing that you digested the problem's meaning before posting will often encourage Readers to provide the best exposition they can.
$endgroup$
– hardmath
Mar 13 at 0:47











1 Answer
1






active

oldest

votes


















1












$begingroup$

So let's write $x$, $y$ and $z$ as binary numbers where the first digit is a $1$ (note that the numbers are strictly positive). Some hints:



  • If one number has more digits than the other two, what can we do? Can XOR ever return a number with more digits than its two inputs?

  • How can we extend this to the case where two numbers have the same number of digits as each other, and this is more than the number of digits of the third number?

  • If each number has the same number of digits, they all start with a $1$. What happens if you take the bitwise XOR of any two of the numbers?





share|cite|improve this answer









$endgroup$



















    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    So let's write $x$, $y$ and $z$ as binary numbers where the first digit is a $1$ (note that the numbers are strictly positive). Some hints:



    • If one number has more digits than the other two, what can we do? Can XOR ever return a number with more digits than its two inputs?

    • How can we extend this to the case where two numbers have the same number of digits as each other, and this is more than the number of digits of the third number?

    • If each number has the same number of digits, they all start with a $1$. What happens if you take the bitwise XOR of any two of the numbers?





    share|cite|improve this answer









    $endgroup$

















      1












      $begingroup$

      So let's write $x$, $y$ and $z$ as binary numbers where the first digit is a $1$ (note that the numbers are strictly positive). Some hints:



      • If one number has more digits than the other two, what can we do? Can XOR ever return a number with more digits than its two inputs?

      • How can we extend this to the case where two numbers have the same number of digits as each other, and this is more than the number of digits of the third number?

      • If each number has the same number of digits, they all start with a $1$. What happens if you take the bitwise XOR of any two of the numbers?





      share|cite|improve this answer









      $endgroup$















        1












        1








        1





        $begingroup$

        So let's write $x$, $y$ and $z$ as binary numbers where the first digit is a $1$ (note that the numbers are strictly positive). Some hints:



        • If one number has more digits than the other two, what can we do? Can XOR ever return a number with more digits than its two inputs?

        • How can we extend this to the case where two numbers have the same number of digits as each other, and this is more than the number of digits of the third number?

        • If each number has the same number of digits, they all start with a $1$. What happens if you take the bitwise XOR of any two of the numbers?





        share|cite|improve this answer









        $endgroup$



        So let's write $x$, $y$ and $z$ as binary numbers where the first digit is a $1$ (note that the numbers are strictly positive). Some hints:



        • If one number has more digits than the other two, what can we do? Can XOR ever return a number with more digits than its two inputs?

        • How can we extend this to the case where two numbers have the same number of digits as each other, and this is more than the number of digits of the third number?

        • If each number has the same number of digits, they all start with a $1$. What happens if you take the bitwise XOR of any two of the numbers?






        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 12 at 21:14









        AdamAdam

        748113




        748113













            Popular posts from this blog

            Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

            Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

            Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers