OFFSET
1,3
COMMENTS
The name comes from the pursuit-evasion game of Cat Herding, where an evader with arbitrarily large (nonzero) speed (the cat) takes turns with an omnipresent pursuer (the herder) who deletes one edge on their turn. The number of edges deleted in order to isolate the cat to one vertex is the score of the game, which the herder tries to minimize, while the cat tries to maximize. Under optimal play, the score is the cat number of the underlying graph.
LINKS
Rylo Ashmore, Danny Dyer, Trent Marbach, and Rebecca Milley, Cuts, cats, and complete graphs, Theoretical Computer Science, Volume 1050, 2025, 115393.
FORMULA
a(1)=0, a(2)=1, a(3)=2, a(n) = floor(n/2)*ceiling(n/2) + a(ceiling(n/2)) for n>=4.
EXAMPLE
For n=2, cutting a single edge isolates the cat, for n=3, cutting the diametrically opposing edge forces the cat to move to a leaf, isolating the cat in 2 cuts. Further analysis can be found in the reference paper.
MATHEMATICA
a[1]=0; a[2]=1; a[3]=2; a[n_]:=Floor[n/2]*Ceiling[n/2]+a[Ceiling[n/2]]; Array[a, 56] (* James C. McMahon, Jul 15 2025 *)
PROG
(SageMath)
def a(n):
temp = 0;
while (n>3):
temp = temp + floor(n*n/4)
n = ceil(n/2)
return temp + n - 1;
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Rylo Ashmore, Jun 25 2025
STATUS
approved
