1 # Python or Jython 2 def find_Divisors( k ): 3 for n in range(1, k): 4 s = str( n ) 5 r = "" 6 for i in range( len(s) - 1, -1, -1 ): 7 r += s[ i ] 8 if r[0] != '0' and r != s and int(s) % int(r) == 0: 9 print s 10 11 find_Divisors( 1000000 )