OFFSET
1,1
COMMENTS
That is, a(n) = floor(n*(n+1)*...*(10^k-1)/R), where k is the number of digits in n and R = (n-1)*(n-2)*...*(10^(k-1)+1)*(10^(k-1)).
There is no room for the next term, which is 152 digits long. - David Wasserman, Dec 01 2008
LINKS
Jason Yuen, Table of n, a(n) for n = 1..99
EXAMPLE
a(5) = 5*6*7*8*9/(4!) = 630.
PROG
(PARI) a(n) = my(k=#digits(n)); floor(prod(i=n, 10^k-1, i)/prod(i=10^(k-1), n-1, i)); \\ Michel Marcus, Sep 05 2024
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Aug 04 2005
STATUS
approved