Answer:
m→B, s→P, m→M, s→M, l→P, s→B
Explanation:
The initial state is ...
(Baby, Mama, Papa) = (Large, Small, Medium)
The large pot can only be transferred from someone holding only that pot, and only to someone holding no pots. The small pot can go anywhere any time.
Transfer the medium pot to Baby.
(B, M, P) = ({L, M}, S, –)
Transfer the small pot to Papa.
(B, M, P} = ({L, M} –, S)
Transfer the medium pot to Mama.
(B, M, P) = (L, M, S)
Transfer the small pot to Mama.
(B, M, P) = (L, {M, S}, –)
Transfer the large pot to Papa.
(B, M, P) = (–, {M, S}, L)
Transfer the small pot to Baby.
(B, M, P) = (S, M, L) . . . . . . desired end condition