数検1級一次過去問(9)
【問題】
Let V be the set of all the 8-dimensional vectors with integers components,whose sum is zero and the sum of their squares is 8.
(1)How many vectors are included in V such that all the components are even?
(2)How many vectors are included in V such that all the components are odd?
【解答】
(1)偶数の2乗である8つの数で、それらの和が8になるのは、
のみである。すると、2乗する前の8つの数は、それらの和が0になることを考えると
である。この8つの数のすべての並べ方の総数が求めるベクトルの個数であるから、
(2)奇数の2乗である8つの数で、それらの和が8になるのは、
のみである。すると、2乗する前の8つの数は、それらの和が0になることを考えると
とが同数(4つずつ)ある。したがってその個数は
■