Integer problem 1

What day of the week is today? Then, what day will it be, 230 days from today?


Solution 1

Calculating 230

  230
=(1000+24)3
=10003+3*24*10002+3*242*1000+243
=10003+72*10002+1728*1000+13824
=1073741824
=7*153391689+1.
Hence, the remainder of 230 divided by 7 is 1.
For example, if today is Sunday, 230 days from today will be Monday.


Solution 2

Examining the remainders of 2, 22, 23, ... divided by 7s

The remainders of 2, 4, 8, 16, 32, 64, ... divided by 7s are 2, 4, 1, 2, 4, 1, ... respectively.
Suppose the remainder of 2k is 'r', or 2k=7n+r, (Note: 'k', 'n', and 'r' are nonnegative integers.)
  2k+3
=23(7n+r)
=7(8n+r)+r.
Therefore, the remainder of 2k+3 divided by 7 is equal to the remainder of 2k divided by 7.
This means that the remainder of 230 divided by 7 is, eventually, the remainder of 23 divided by 7, which is 1.
Hence, if today is Tuesday, for example, 230 days from today will be Wednesday.


Solution 3

Utilizing 230=810

  230
=810
=(7+1)10
=710+10*79+...+10*7+1
=7n+1. (Note: 'n' is an integer.)
Hence, the remainder of 230 divided by 7 is 1.
For example, if today is Thursday, 230 days from today will be Friday.


Solution 4

Factorizing 230-1

  230
=810
=(810-1)+1
=(8-1)(89+88+...+8+1)+1
=7n+1. (Note: 'n' is an integer.)
Hence, the remainder of 230 divided by 7 is 1.
For example, if today is Saturday, 230 days from today will be Sunday.


Mathematical Problems

© 2006 Takashi Shimazaki
Updated: April 14, 2013