Solution:
This is what the paper should look like after Ezekiel writes his final number:
1 & 1
2 & 1
3 & 1, 2
4 & 1, 3
6 & 1, 5
12 & 1, 5, 7, 11
The left-hand column contains the positive factors of 12 and the right-hand column contains Ezekiel's numbers. We see that Ezekiel wrote 12 numbers.
Note: Notice that the number of numbers Ezekiel ends up with is the same as Delilah's number. Will this always happen? Suppose Delilah starts with n. Will Ezekiel end up with n numbers?