A natural number is a palindrome when one obtains the same number when writing its digits in reverse order. For example, 481184481184481184 , 131131131 and 222 are palindromes.
Determine all pairs (m,n)(m,n)(m,n) of positive integers such that 111…1⏟m ones×111…1⏟n ones\underbrace{111\ldots 1}_{m\ {\rm ones}}\times\underbrace{111\ldots 1}_{n\ {\rm ones}}m ones111…1 is a palindrome.