Generate every number with at most d digits whose digits strictly increase from left to right, such as 1, 12, 139 or 2468.
Generate every number with at most d digits whose digits strictly increase from left to right, such as 1, 12, 139 or 2468.
Opens with the full question.