Ad
  • Default User Avatar

    I guess you don't need to calculate the cube of each digit since an odd number will always have an odd cube and an even number will always have an even cube. The modulo 2 of the sum will always be the same.