Endgame Problem 4 / Solution

Black to play

This position is hyperactive. Correct play depends on the ko threat situation.

145abcd
White komaster

When White is komaster 1 saves the stones. Later, 4 - 5 is sente. (Somewhat sneakily, Wa instead is also sente. ;-)) Then a, b, c, and d are miai, played as dame or ko threats.

123
Black komaster

When Black is komaster he can play more enterprisingly, with 1 - 3.

1234a
Black komaster (ii)

That leaves behind a large throw-in ko at 1. But Black takes first with 2, forcing 3. Now 4 saves his stones. White still has a sente ko with 1 - Ba. (Since Black is komaster, White will avoid this ko.)