I think the question is unclear. If we need to get the expected sum of all colors over n objects after k turns, this would be an integer. Can someone clarify if the question is worded correctly?

http://en.wikipedia.org/wiki/Expected_value . This is what expected value or sum means.

Thanks that helps…