A113562 Least multiple of n in which the n-th digit from left is 7.
7, 170, 117, 10072, 100070, 1000074, 1000027, 100000072, 100000017, 10000000070, 10000000087, 1000000000176, 1000000000077, 100000000000278, 1000000000000170, 10000000000000176, 10000000000000067, 1000000000000000170
Offset: 1
Examples
a(4)= 10072, in which the fourth digit is 7.
Programs
-
Mathematica
lmn7[n_]:=Module[{k=Ceiling[10^(n-1)/n]},While[NumberDigit[k n,IntegerLength[ k n]-n]!=7,k++];k n]; Array[lmn7,10] (* The program generates the first 10 terms of the sequence. *) (* Harvey P. Dale, Nov 02 2022 *)
Extensions
More terms from Joshua Zucker, May 03 2006