|
|
A113562
|
|
Least multiple of n in which the n-th digit from left is 7.
|
|
2
|
|
|
7, 170, 117, 10072, 100070, 1000074, 1000027, 100000072, 100000017, 10000000070, 10000000087, 1000000000176, 1000000000077, 100000000000278, 1000000000000170, 10000000000000176, 10000000000000067, 1000000000000000170
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(4)= 10072, in which the fourth digit is 7.
|
|
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 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|