Find the number of ordered septuples of non-negative integers such that for all and divides .
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.
Let f ( n ) denote the number of n − tuples ( x 1 , . . . , x n ) such that 0 ≤ x 1 , . . . , x n ≤ 7 and 5 ∣ i = 1 ∑ n 3 x i .
To compute f ( n + 1 ) from f ( n ) , we note that given any n − tuple ( x 1 , . . . , x n ) such that 0 ≤ x 1 , . . . , x n ≤ 7 and 5 ∤ i = 1 ∑ n 3 x i , there are exactly two possible values for x n + 1 such that 0 ≤ x n + 1 ≤ 7 and 5 ∣ i = 1 ∑ n + 1 3 x i , because 3 n ≡ 1 , 3 , 4 , 2 , 1 , 3 , 4 , 2 ( m o d 5 ) for n = 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 respectively.
Also, given any valid ( n + 1 ) − tuple ( x 1 , . . . , x n + 1 ) , we can remove x n + 1 to get an n − tuple ( x 1 , . . . , x n ) such that such that 0 ≤ x 1 , . . . , x n ≤ 7 and 5 ∤ i = 1 ∑ n 3 x i ., so these are in bijection.
There are a total of 8 n n − tuples, f ( n ) of which satisfy 5 ∣ i = 1 ∑ n 3 x i , so there are 8 n − f ( n ) for which 5 ∤ i = 1 ∑ n 3 x i .
Therefore, f ( n + 1 ) = 2 ( 8 n − f ( n ) ) .
We now have f ( 1 ) = 0 , f ( 2 ) = 2 ( 8 1 − 0 ) = 1 6 , f ( 3 ) = 2 ( 8 2 − 1 6 ) = 9 6 , f ( 4 ) = 2 ( 8 3 − 9 6 ) = 8 3 2 , f ( 5 ) = 2 ( 8 4 − 8 3 2 ) = 6 5 2 8 , f ( 6 ) = 2 ( 8 5 − 6 5 2 8 ) = 5 2 4 8 0 , f ( 7 ) = 2 ( 8 6 − 5 2 4 8 0 ) = 4 1 9 3 2 8 .