• nova_ad_vitum@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    The algorithm gets a little weird if you’re summing the numbers to an odd number, though since there will be a left over number you have to deal with . By calculating 2S it works exactly the same in either case.