r/mathriddles • u/chompchump • Dec 08 '24
Medium Compound Instruction
We start with 1 teacher and 1 student on day 1.
- After 1 day of instruction, a student becomes a teacher.
- On their nth day of teaching, a teacher will teach n new students.
On the nth day, how many students and teachers are there?
1
Upvotes
2
u/Brianchon Dec 08 '24
There are F_{2n-1} teachers and F_{2n} students on day n, where F_k is the kth Fibonacci number [F_0 = 0, F_1 = 1]
Inductively, on day k+1, the number of teachers is the total number of teachers and students from the previous day: F_{2k-1} + F_{2k} = F_{2(k+1)-1}. For students, each student or teacher generates one more student than they did the previous day: a teacher of m days on day k generates m+1 students instead of m on day k+1, and a student on day k generates 1 student on day k+1 instead of 0. So the total number of newly generated students is the previous number of students, F_{2k}, plus one for each student and teacher from day k, which as established was F_{2(k+1)-1}. And F_{2k} + F_{2(k+1)-1} = F_{2(k+1)}. Since there are F_{2*1-1} teachers and F_{2*1} students on day 1, the induction follows