A284750 a(n) = least k > 0 such that k * n in factorial base representation contains only 0's and 1's.
1, 1, 1, 2, 5, 1, 1, 1, 1, 3, 3, 2, 2, 9, 2, 2, 9, 7, 8, 6, 6, 33, 256, 1, 1, 1, 1, 26, 5, 1, 1, 1, 1, 149, 24, 4, 159, 4, 130, 3, 3, 3, 3, 118, 16, 128, 16, 3, 3, 3, 3, 14, 16, 16, 840, 13, 89, 15, 88, 2, 2, 12, 2, 2, 78, 11, 13, 76, 597, 12, 71, 2, 2, 555, 2
Offset: 1
Examples
The first terms, alongside n*a(n) in decimal and factorial base, are: n a(n) n*a(n) n*a(n) in factorial base -- ---- ------ ------------------------ 1 1 1 1 2 1 2 1,0 3 1 3 1,1 4 2 8 1,1,0 5 5 25 1,0,0,1 6 1 6 1,0,0 7 1 7 1,0,1 8 1 8 1,1,0 9 1 9 1,1,1 10 3 30 1,1,0,0 11 3 33 1,1,1,1 12 2 24 1,0,0,0 13 2 26 1,0,1,0 14 9 126 1,0,1,0,0 15 2 30 1,1,0,0 16 2 32 1,1,1,0 17 9 153 1,1,1,1,1 18 7 126 1,0,1,0,0 19 8 152 1,1,1,1,0 20 6 120 1,0,0,0,0
Links
Programs
Formula
a(n) = A286820(n) / n.
Comments