Indicator Function Math Problems