Minimal number of floors an elevator must move to transport n passengers initially waiting at floors i = 1, ..., n to their destinations, floor n+1-i (= n, ..., 1), if the elevator can transport at most C = 2 persons at a time and starts at floor 1, and no one may get off the elevator before reaching their destination.

A162762

Minimal number of floors an elevator must move to transport n passengers initially waiting at floors i = 1, ..., n to their destinations, floor n+1-i (= n, ..., 1), if the elevator can transport at most C = 2 persons at a time and starts at floor 1, and no one may get off the elevator before reaching their destination.

Terms

    a(0) =0a(1) =2a(2) =4a(3) =6a(4) =8a(5) =14a(6) =18a(7) =22a(8) =26a(9) =34a(10) =40a(11) =46a(12) =52a(13) =62a(14) =70a(15) =78a(16) =86

External references