Ad
  • Default User Avatar

    I dont think this solution would work actually. Mod 2 only tells if something is odd or even. Wouldnt this give a wrong answer for x=6 for example? Maybe Im just missing something.