OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = ceiling(10^d/prime(n))*prime(n) where prime(n) has d digits. - Robert Israel, Jul 21 2020
MAPLE
g:= proc(n) ceil(10^(ilog10(n)+1)/n)*n end proc:
seq(g(ithprime(n)), n=1..100); # Robert Israel, Jul 21 2020
MATHEMATICA
f[n_] := Block[{k = 2, m = n}, While[ IntegerDigits[k*m][[1]] != 1, k++ ]; k*m]; Table[ f[ Prime[n]], {n, 1, 55}]
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Nov 26 2002
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Nov 29 2002
STATUS
approved