OFFSET
1,6
COMMENTS
Many of the comments given in A055881 apply also here.
From Amiram Eldar, Mar 10 2021: (Start)
The asymptotic density of the occurrences of k is (k+1)/(k+2)!.
The asymptotic mean of this sequence is e - 2 = 0.718281... (A001113 - 2). (End)
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10080
Tyler Ball, Joanne Beckford, Paul Dalenberg, Tom Edgar, and Tina Rajabi, Some Combinatorics of Factorial Base Representations, J. Int. Seq., Vol. 23 (2020), Article 20.3.3.
FORMULA
a(n) = A055881(n)-1.
EXAMPLE
MATHEMATICA
With[{b = MixedRadix[Range[12, 2, -1]]}, Array[LengthWhile[Reverse@ IntegerDigits[#, b], # == 0 &] &, 105]] (* Michael De Vlieger, Jun 03 2020 *)
PROG
(Scheme)
(define (A230403 n) (if (zero? n) 0 (let loop ((n n) (i 2)) (cond ((not (zero? (modulo n i))) (- i 2)) (else (loop (/ n i) (1+ i)))))))
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Antti Karttunen, Oct 31 2013
STATUS
approved