OFFSET
1,1
FORMULA
a(n) = floor(9*10^(n-1)/n) or floor(9*10^(n-1)/n) + 1.
a(1)=10; a(n) = floor((10^n - 1)/n) - floor((10^(n-1) - 1)/n) for n > 1. - Jon E. Schoenfield, Dec 02 2021
EXAMPLE
a(3) = 300 as there are 300 3-digit numbers divisible by 3: 102, 105, ..., 999.
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, May 23 2001
EXTENSIONS
More terms from Jason Earls, May 26 2001
More terms and a(14) corrected by Jon E. Schoenfield, Dec 02 2021
STATUS
approved