A162761
Minimal total number of floors an elevator must move to transport n people initially waiting at floors i = 1, …, n to their destination floors n-i+1 (= n, …, 1), when the elevator can hold at most one person at a time and starts at floor 1, and no passenger may get off the elevator before reaching his/her destination.
offset: 1
codomain: ℕ
Declarations
Section titled “Declarations”- A162761computable