a(0) = 0; for n > 0, a(n) = final nonzero number in the sequence n, f(n,2), f(f(n,2),3), f(f(f(n,2),3),4),..., where f(n,d) = floor(n/d); the most significant digit in the factorial base representation of n.
A099563
a(0) = 0; for n > 0, a(n) = final nonzero number in the sequence n, f(n,2), f(f(n,2),3), f(f(f(n,2),3),4),..., where f(n,d) = floor(n/d); the most significant digit in the factorial base representation of n.
Terms
- a(0) =0a(1) =1a(2) =1a(3) =1a(4) =2a(5) =2a(6) =1a(7) =1a(8) =1a(9) =1a(10) =1a(11) =1a(12) =2a(13) =2a(14) =2a(15) =2a(16) =2a(17) =2a(18) =3a(19) =3a(20) =3a(21) =3a(22) =3a(23) =3a(24) =1a(25) =1a(26) =1a(27) =1a(28) =1a(29) =1
External references
- oeis: A099563