n people stand in a circle; counting k at a time, every k-th is eliminated until one survives. Watch the count walk the ring and the survivor emerge — then compare with the recurrence J(n) = (J(n-1) + k) mod n.
J(n) = (J(n-1) + k) mod n with J(1) = 0 (add 1 for the 1-indexed seat),
and for k = 2 the closed form 2·(n − 2^⌊log₂ n⌋) + 1. See junior.md and professional.md.