ta có : abc = 100a + 10b + c (1)
cba = 100c + 10b + a = (n-2)2 (2)
lấy (2) trừ (1) ta có: 99(a - c) = 4n - 5 => 4n - 5 \(⋮\) 99
100 \(\le\) n2 - 1 \(\le\) 999
<=> \(101\le n^2\le1000\)
<=> \(11\le n\le31\)
<=> \(44\le4n\le124\)
<=> \(39\le4n-5\le119\)
mà 4n - 5 \(⋮\) 99
=> 4n - 5 = 99
=> n = 26
=>abc = 262 - 1 = 675
VẬy.....