Does i stand for 'integer' or possibly 'index'? I also wonder how far into the past it goes, 19 century?
The use of x, y and z as unknown reals goes far as back as Descartes. I don't know what he used for integers though, or whether he bothered to distinguish integers from reals.