A357425 Smallest number for which the sum of digits in fractional base 4/3 is n.
0, 1, 2, 3, 5, 6, 7, 10, 11, 15, 21, 22, 23, 31, 39, 43, 54, 55, 74, 75, 101, 102, 103, 138, 139, 183, 187, 246, 247, 330, 331, 439, 443, 587, 783, 790, 791, 1047, 1355, 1398, 1399, 1866, 1867, 2487, 2491, 3318, 3319, 4199, 4427, 5903, 5911, 7882, 7883, 9959
Offset: 0
Examples
For n=10, a(10) = 21 = 32131 in base 4/3 is the smallest number with sum of digits = 10. For n=11, a(11) = 22 = 32132 in base 4/3, and which differs from a(10) simply by increasing the least significant base 4/3 digit.
Links
- Kevin Ryde, Table of n, a(n) for n = 0..472
- Kevin Ryde, C Code (revised)
- Index entries for sequences related to fractional bases
Programs
-
C
/* See links. */
Comments