Solution:
a) As each campaign-making animal uses exactly n paths and the total number of paths is 2n(n−1), the number of campaign-making animals cannot exceed 2n−1. Labeling the caves by integers 0,1,2,…,n−1, we can construct 2n−1 non-intersecting campaign routes as follows:
0→1→2→3→…→n→00→2→4→6→…→n−1→00→3→6→9→…→n−2→0………+⋯0→2n−1→n−1→…→2n+1→0
(As each of these cyclic routes passes through any cave, the 2n−1 campaign-making animals can be chosen arbitrarily).
b) As noted above, the number of campaign-making animals cannot exceed 29−1=4. The 4 non-intersecting campaign routes can be constructed as follows:
0→1→2→8→3→7→4→6→5→00→2→3→1→4→8→5→7→6→00→3→4→2→5→1→6→8→7→00→4→5→3→6→2→7→1→8→0