Problem

Source: Russia 1994, 9th grade

Tags: linear algebra, matrix, vector, algorithm



There are $ 16$ pupils in a class. Every month, the teacher divides the pupils into two groups. Find the smallest number of months after which it will be possible that every two pupils were in two different groups during at least one month.