DeniseRN_TPA said:The version of this that has an answer is narrower than the version being asked.
That is right, and it stops being right at the edges. The general case is well behaved; the interesting cases in this thread are all at the boundary where the general case breaks.