login
A065399
a(n) is the greatest integer m such that (1) written in base n it is also readable as if it is in factorial base and (2) this factorial base value is smaller than or equal to m.
1
3, 79, 8185, 1953086, 725593801, 678223069581, 562949953378513, 1350851717672319484, 4999999999999987654321, 9849732675807610835337595, 137370551967459378656446409161, 403076252869222301596846120485751
OFFSET
2,1
COMMENTS
Such a number will always have the maximum allowable digit in all places that are larger in base n than in factorial base. The remaining digits can be checked sequentially, since the difference between place values in factorial base and base n increase by more than a factor of n at that point. - Charlie Neder, Jun 12 2019
EXAMPLE
We have 2221 in base 3 is equal to 79 and in factorial base is equal to 65. There is no greater number in base 3 whose factorial base interpretation is less than the number itself. So a(3)=79.
CROSSREFS
Cf. A065400.
Sequence in context: A367249 A062660 A331673 * A265592 A105065 A011187
KEYWORD
nonn
AUTHOR
Floor van Lamoen, Nov 05 2001
EXTENSIONS
a(6)-a(8) corrected and a(9)-a(13) from Charlie Neder, Jun 12 2019
STATUS
approved