Off-by-one error

~noun

Entry: In computing, any simple and basic error, such as starting at 1 instead of 0.

 

@ Milton-Kindersley Advanced Dictionary