Let p(x) be defined on 2≤x≤10 such that
p(x)={x+1⌊x⌋ is primep(y)+(x+1−⌊x⌋)otherwise
where y is the greatest prime factor of ⌊x⌋. Express the range of p in interval notation.
The function gets bumped up by 1 at each prime, so the range of p is [2,4) U [5,7) U [8,9).
That is incorrect, thank you though.