Beulah and Jazzlover42, I think that the 3rd digit must be 7.
Otherwise 10A would need to be 10585 and 9D would need to be 85. Both of which then would be divisible by 5.
I've been looking for a 5-digit number in the mid- to upper-20,000s, hoping to add onto its square the relatively small square from its adjoining 4-digit number. But I've had no luck with this. Am I wrong to assume that the integer pairs are in the same row or column ?