✔ 最佳答案
Let n = 6X + a, where X is an integer and 0 <= a < 6
L.H.S. = └ n / 3 ┘ + └ (n + 2) / 6 ┘ + └ (n + 4) / 6 ┘
= └ (6X + a) / 3 ┘ + └ ((6X + a) + 2) / 6 ┘ + └ ((6X + a) + 4) / 6 ┘
= └ 2X + a/3 ┘ + └ X + (a + 2)/6 ┘ + └ X + (a + 4)/6 ┘
= 2X + X + X = 4X
2015-05-19 08:40:16 補充:
R.H.S. = └ n / 2 ┘ + └ (n + 3) / 6 ┘
= └ (6X + a) / 2 ┘ + └ ((6X + a) + 3) / 6 ┘
= └ 3X + a/2 ┘ + └ X + (a + 3)/6 ┘
= 3X + X = 4X
so, └ n / 3 ┘ + └ (n + 2) / 6 ┘ + └ (n + 4) / 6 ┘ = └ n / 2 ┘ + └ (n + 3) / 6 ┘
2015-05-19 08:41:22 補充:
第二條試過數值,好似有 d 問題,恕小弟不才
2015-05-20 16:54:50 補充:
係喎,再諗過先......
2015-05-20 17:05:44 補充:
Let n = 6X + a, where X is an integer and 0 <= a < 6
L.H.S. = └ n / 3 ┘ + └ (n + 2) / 6 ┘ + └ (n + 4) / 6 ┘
= └ (6X + a) / 3 ┘ + └ ((6X + a) + 2) / 6 ┘ + └ ((6X + a) + 4) / 6 ┘
= └ 2X + a/3 ┘ + └ X + (a + 2)/6 ┘ + └ X + (a + 4)/6 ┘
R.H.S. = └ n / 2 ┘ + └ (n + 3) / 6 ┘
= └ (6X + a) / 2 ┘ + └ ((6X + a) + 3) / 6 ┘
= └ 3X + a/2 ┘ + └ X + (a + 3)/6 ┘
case i, 0 <= a < 2
L.H.S. = 2X + X + X = 4X
R.H.S. = 3X + X = 4X
case ii, 2 <= a < 3
L.H.S. = 2X + X + X + 1 = 4X + 1
R.H.S. = 3X + 1 + X = 4X + 1
case iii, 3 <= a < 4
L.H.S. = 2X + 1 + X + X + 1 = 4X + 2
R.H.S. = 3X + 1 + X + 1 = 4X + 2
case iv, 4 <= a < 6
L.H.S. = 2X + 1 + X + 1 + X + 1 = 4X + 3
R.H.S. = 3X + 2 + X + 1 = 4X + 3
so, └ n / 3 ┘ + └ (n + 2) / 6 ┘ + └ (n + 4) / 6 ┘ = └ n / 2 ┘ + └ (n + 3) / 6 ┘