Step-by-step explanation:
a,b) you can place all 17 in the middle and both circle will have 17 each. then remove 2 and place one each on separate sides. you can do this 8 times so that at the you'll end up with 1 in the middle and 8 each on separate sides.
the ways to do is then 9.