OFFSET
0,1
COMMENTS
This sequence is well defined: for any n > 0 and m >= 0, A153880^m(n) (where A153880^m denotes the m-th iterate of A153880) is a multiple of (m+1)! whose factorial base expansion starts with that of n while the remaining digits are zeros, so for m sufficiently large, n will divide (m+1)! and hence this value.
LINKS
FORMULA
a(k!) = k+1 for any k > 0.
EXAMPLE
The first terms, in decimal and in factorial base, are:
n a(n) fact(n) fact(a(n)*n)
-- ------- ------- ---------------------
0 2 0 0
1 2 1 1,0
2 3 1,0 1,0,0
3 10 1,1 1,1,0,0
4 3 2,0 2,0,0
5 312 2,1 2,1,0,0,0,0
6 4 1,0,0 1,0,0,0
7 18 1,0,1 1,0,1,0,0
8 18 1,1,0 1,1,0,0,0
9 96 1,1,1 1,1,1,0,0,0
10 96 1,2,0 1,2,0,0,0,0
11 600 1,2,1 1,2,1,0,0,0,0
12 4 2,0,0 2,0,0,0
13 6168960 2,0,1 2,0,1,0,0,0,0,0,0,0,0
14 6120 2,1,0 2,1,0,0,0,0,0,0
15 18 2,1,1 2,1,1,0,0
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 17 2025
STATUS
approved
