A bit of trouble with this question for MTH2222 (pretty much an epsilon-delta though, so don't let the fact that it's probability scare you):

Basically, we need to find a value of C to suit the above statement - or, in the words of the question, "obtain an upper bound on the distance between the mean and the mode". We're working with a binomial distribution.
So, what I've got so far:
\rfloor<br />\\ \text{Let }r=p(n+1)-\lfloor p(n+1)\rfloor<br />\\ \therefore |np+r-p(n+1)|<br />\\ =|np+r-np-p|<br />\\ =|r-p|<br />\\ \leq |r|+|-p|<br />\\ =r+p)
This is where I run into problems. See, C should depend on p, but not on n, and I'm not sure how to get rid of r and thus n. I know that

, but using this I lose my strict inequality, and the original expression contains a strict inequality. Would this be an issue?
EDIT: E-mailed my tutor, he said that I don't have a problem as

, which is different to what I thought (saying the reason why is because
p\rfloor - \lfloor(n+1)p\rfloor)
). Can anyone explain this to me, because I can't seem to understand why?