|
| |
|
|
A067117
|
|
Floor[ concatenation of first n natural numbers/ (n!)].
|
|
2
| |
|
|
1, 6, 20, 51, 102, 171, 244, 306, 340, 3402, 30928, 257737, 1982597, 14161414, 94409428, 590058925, 3470934853, 19282971406, 101489323191, 507446615959, 2416412456951, 10983692986143, 47755186896276, 198979945401152
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Harry J. Smith, Table of n, a(n) for n=1,...,200
|
|
|
EXAMPLE
| a(5) = floor [123456/(6!)] = floor [123456/720] = 171.
|
|
|
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, 200, c=Concat(c, n); s+=n; write("b067117.txt", n, " ", floor(c/n!)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), May 25 2010]
|
|
|
CROSSREFS
| Cf. A067116.
Sequence in context: A161409 A002415 A052515 * A119365 A001211 A122225
Adjacent sequences: A067114 A067115 A067116 * A067118 A067119 A067120
|
|
|
KEYWORD
| easy,nonn,base
|
|
|
AUTHOR
| Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jan 08 2002
|
| |
|
|