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.

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.

Terms

    a(0) =0a(1) =2a(2) =4a(3) =9a(4) =13a(5) =20a(6) =26a(7) =35a(8) =43a(9) =54a(10) =64a(11) =77a(12) =89a(13) =104a(14) =118a(15) =135a(16) =151a(17) =170a(18) =188a(19) =209a(20) =229a(21) =252a(22) =274a(23) =299a(24) =323a(25) =350a(26) =376a(27) =405a(28) =433a(29) =464

External references