MathDB
Balanced integers

Source:

May 11, 2006
AMCAIME

Problem Statement

An integer between 1000 and 9999, inclusive, is called balanced if the sum of its two leftmost digits equals the sum of its two rightmost digits. How many balanced integers are there?