1234

2345

4567

5678

  • @quilan
    link
    8
    edit-2
    5 hours ago

    I’d argue lexicographically it would be 0000 and 0001 for the first two sets of 4 digits. If you’re looking for combinations w/o replacement, it would be 0123 and 0124.

    • lemmyng
      link
      fedilink
      English
      54 hours ago

      To be even more pedantic, OP has not provided sufficient information to infer the series. No specific order is defined, so 0001 could be just as likely as 8259.

  • @DomeGuy
    link
    35 hours ago

    4567

    While 0 has no value and is often placed after 9 on keyboards, you asked about digits in a base and not numbers. This becomes clear if you describe the various bases.

    • Binary is 0-1
    • Octal is 0-7
    • Decimal is 0-9
    • Hexadecimal is 0-F

    If you sort zero at the end, you’d need to spell out the digits or label them all as 1-0, which isn’t very descriptive.

    Mind you, “zero-first ordering of digits” is not a fundamental rule, since the glyphs only have a need to be sorted when they stand for a numerical value . And if you used a phrase like “first X digits” without noting a range the omission would be a composition error.

  • Onno (VK6FLAB)
    link
    fedilink
    56 hours ago

    There are 10 types of people in the world, those who understand binary and those who don’t.

  • @JustAnotherKayOP
    link
    1
    edit-2
    7 hours ago

    Actually I just realized, I picked 4 arbitrarily but this works best with 5 or more digits because then it becomes

    12345

    23456

    56789

    67890

    67891