What I mean is, let's say that I have number between 0 - 400. If I were to pass in 0, it would return 400, if I were to pass in 1 it would return 399, and so on and so forth. Is there an equation that will let me do this? (Yes, I know this isn't really java as much as it is plain Math)
EDIT: WOW, I'm and idiot. How did I NOT realize that this was subtraction?