Inspired by this Problem of the Week.
Given is a positive integer divisible by 3, and the list below consists of sums, how many of the sums are divisible by 3?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I will show this by induction. Let's start with the first three numbers:
1
1 + 2
1 + 2 + 3
The first is not divisible by 3 , the other two are.
Since n is divisible by 3 , the entire list can be divided into m = 3 n groups of three each, the first group being the one above.
I will show that if the sum S of the last line of the m − 1 triplet is divisible by 3 , the next triplet repeats the pattern - the first line is not divisible by 3 and the following two are.
The triplet number m can then be written as:
S + ( n − 2 ) = S + n − 2
S + ( n − 2 ) + ( n − 1 ) = S + 2 n − 3
S + ( n − 2 ) + ( n − 1 ) + n = S + 3 n − 3
Since S and n are both divisible by 3 , the first line of the triplet is not while the following two are.
Since the entire list can be divided into groups of three, with two out of each group divisible by 3 , 3 2 of the entire list is divisible by 3 .