There might be some simple explanation but i cannot figure it out.

    • lemmyng@lemmy.ca
      link
      fedilink
      English
      arrow-up
      35
      ·
      4 months ago

      I wanted to keep it simple and avoid a factorial sum. My example also shows that the remainder sum goes up even when nothing is spent.