Consider functions [math] How many functions have the property that [math] or [math] or both?

Solution: