Sum (Pair Product) = Sum (Triplet Product) (Posted on 2009-11-08)

Determine the probability that for a positive integer N chosen at random between 1000 and 9999 inclusively, the sum of the products of pairs of digits in N is equal to the sum of products of triplets of its digits.