A382178 a(n) is the least k > 1 such that the factorial base expansion of k*n starts with that of n.
2, 2, 3, 3, 3, 3, 4, 18, 18, 17, 17, 16, 4, 19, 19, 18, 18, 101, 4, 115, 114, 110, 110, 18, 5, 203, 199, 192, 189, 183, 28, 187, 27, 179, 177, 1341, 180, 176, 26, 170, 168, 165, 1320, 168, 1277, 1251, 162, 159, 5, 1649, 204, 1598, 1579, 1551, 200, 197, 195
Offset: 0
Examples
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 3 1,1 1,1,1 4 3 2,0 2,0,0 5 3 2,1 2,1,1 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 17 1,1,1 1,1,1,1,1 10 17 1,2,0 1,2,0,1,0 11 16 1,2,1 1,2,1,1,0 12 4 2,0,0 2,0,0,0 13 19 2,0,1 2,0,1,0,1 14 19 2,1,0 2,1,0,1,0 15 18 2,1,1 2,1,1,0,0
Links
Programs
Formula
a(n) <= A382177(n).
Comments