A practical application of the Elevator Function


The famous Elevator Function, e, has values:

e(0) is undefined
e(1) = 1
e(2) = 2
e(3) = 1
e(4) = 1
e(5) = 1

This function defines, given the number of people in an elevator, the number of people who know who farted.

It occurs to me that this function also describes many situations in shared households.