Question 1207844
<pre>

Ikleyn has done an excellent job here.  The smartest part was rewriting

xy < x + y
as
(1-x)(1-y) < 1

One slight error is the fact that 'two distinct integers' means the number of
sets {x,y}, {{{x<>y}}}, not the number of ordered pairs (x,y).  So her answer
 should be divided by 2. 1246/2 = 623.

Edwin</pre>