JSFiddle - React, Tailwind, and code Playground

JavaScript

for (let i = 1; i <= 9; i++) {
	const n = 9 * i + 1
  
  for (let j = 1; j <= n; j++) {
  	if (n % j === 0) {
    	const a = 1001 - n / j
      const b = 1001 - 11 * j
      
      const max = a * b
      
      if (flipInteger(max) === max) {
				console.log(max)
			}
    } 
  }
}

function flipInteger(n) {
    let digit, 
    	result = 0

    while (n) {
			digit = n % 10
      result = (result * 10) + digit
      n = n / 10 | 0
    }  
  
    return result
}