Skip to content

A099563

OEIS Lean4

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.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A09956301112211111122222233333311111111111111111111111122222222222222222222222233333333333333333333333344444