If x is a positive real number, then somewhere in the finite sequence {x, 2x, 3x, ..., nx} there is a number containing the digit 7. Find the minimum value of n.

Note: Some numbers can be written in two ways (1.8=1.7999999...) only consider the form without all the 9's.

Source: Slightly adapted from a post by Victor Wang on Facebook.