Problem

Source: Rioplatense Olympiad 2000 level 3 P1

Tags: number theory, odd, multiple, Last digit



Let $a$ and $b$ be positive integers such that the number $b^2 + (b +1)^2 +...+ (b + a)^2-3$ is multiple of $5$ and $a + b$ is odd. Calculate the digit of the units of the number $a + b$ written in decimal notation.