Minimal total number of floors an elevator must travel to get n people waiting, respectively, at floors i = 1, 2, ..., n, to their destinations at floors n+1-i (= n, ..., 1), if the elevator can hold at most C = 3 people and starts at floor 1, and no passenger may get off the elevator before reaching his/her destination.

A162763

Minimal total number of floors an elevator must travel to get n people waiting, respectively, at floors i = 1, 2, ..., n, to their destinations at floors n+1-i (= n, ..., 1), if the elevator can hold at most C = 3 people and starts at floor 1, and no passenger may get off the elevator before reaching his/her destination.

Terms

    a(0) =0a(1) =2a(2) =4a(3) =6a(4) =8a(5) =10a(6) =12a(7) =18a(8) =22a(9) =27a(10) =31a(11) =35a(12) =39a(13) =47a(14) =53a(15) =60

External references