Monday, September 30, 2019

mathematics - Divisible by seventeen


Determine the smallest integer n0 for which



  • the decimal digit sum of n is a multiple of 17

  • the decimal digit sum of n+1 is a multiple of 17.



No computers! The puzzle has a nice direct solution.



Answer




We know that the digit sum of n is a multiple of 17, let us write that as (d1 being the least significant digit): dm+dm1+...+d2+d1=x17

If d1 would be smaller than 9 then the digit sum of n+1 would be x17+1
which is obviously not divisible by 17, so d1 must be 9. If d2 would be smaller than 9, then the digit sum of n+1 wold be x179+1=x178
which is not divisible by 17 again, so d2 is must be 9 well. If d3 would be smaller than 9, then the digit sum of n+1 would be x1799+1=x1717
which is divisible by 17. This means we look for the smallest number with digit sum divisible by 17 with the last 2 digits equal 9 and the third last digit lower than 9. This is obviously: 8899
.



No comments:

Post a Comment

classical mechanics - Moment of a force about a given axis (Torque) - Scalar or vectorial?

I am studying Statics and saw that: The moment of a force about a given axis (or Torque) is defined by the equation: $M_X = (\vec r \times \...