Skip to content

A Combinatorial Problem in Cinema Seating

Madjid Mirzavaziri, Daniel Yaqubi

math.GM

Abstract

We address a problem concerning cinema audiences: ``A cinema has nn seats numbered from 11 to nn, and there are nn people with tickets numbered from 11 to nn. People enter the cinema in order. If someone has the ticket number ii, they can choose seats whose numbers are multiples of ii. They should exit the cinema if the permitted seats are occupied by previous audience members. In how many ways can they be seated under these conditions?" We give an algorithm to create the list of situations that meet these conditions. We also focus on finding the number of situations in two special cases: when exactly one seat is unoccupied whose total number is denoted by ω(n)ω(n), and when all audiences 1,…,n−11, \ldots, n-1 are seated, whose total number is denoted by ψ(n)ψ(n). Giving the recursive formula ψ(n)=1+∑d∣n,d≠nψ(d)ψ(n)=1+\sum_{d|n, d\neq n}ψ(d) with the initial value ψ(1)=1ψ(1)=1, we provide an explicit formula for ψ(pαqβ)ψ(p^αq^β), where pp and qq are distinct prime numbers. Furthermore, we show that ω(n)=−n+∑i=1nψ(i)ω(n)=-n+\sum_{i=1}^nψ(i).

Create a lesson

Metadata

Comments
12 page