A partition of x > 0 of the form x = P i 2 i3i with distinct parts is called a double-base expansion of x. Such a representation can be obtained using a greedy approach, assuming one can efficiently compute the largest {2, 3}-integer, i.e., a number of the form 23, less than or equal to x. In order to solve this problem, we propose an algorithm based on continued fractions in the vein of the Os...