he first two consecutive numbers whose factors have the same sum

I assume you mean the sum of the aliquot factors/divisors (those other than the number itself). If you include the number itself as a factor, there is no answer.

2 and 3 satisfy the requirement as both have only 1 aliquot divisor/factor, that being 1.