OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
EXAMPLE
a(6) = floor (123456 / 21) = 5878.
MATHEMATICA
Table[Floor[FromDigits[Flatten[IntegerDigits/@Range[n]]]/Total[Range[n]]], {n, 20}] (* Harvey P. Dale, Jul 22 2022 *)
PROG
(PARI) digitsIn(x)= { local(d); if (x==0, return(1)); d=1 + log(x)\log(10); if (10^d == x, d++, if (10^(d-1) > x, d--)); return(d) } Concat(a, b)= { return(a*10^digitsIn(b) + b) } { c=0; s=0; for (n=1, 100, c=Concat(c, n); s+=n; write("b067116.txt", n, " ", floor(c/s)) ) } \\ Harry J. Smith, May 24 2010
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Amarnath Murthy, Jan 08 2002
EXTENSIONS
More terms from several contributors
Edited by Charles R Greathouse IV, Apr 26 2010
STATUS
approved