ickplant@lemmy.world to Lemmy Shitpost@lemmy.world · 11 months agoPaniki.postimg.ccimagemessage-square149fedilinkarrow-up11.3Karrow-down150
arrow-up11.25Karrow-down1imagePaniki.postimg.ccickplant@lemmy.world to Lemmy Shitpost@lemmy.world · 11 months agomessage-square149fedilink
minus-squareTangent5280@lemmy.worldlinkfedilinkarrow-up36arrow-down1·11 months agoOur plan to find the witch has worked, boys! Get her!
minus-squareKaryoplasma@discuss.tchncs.delinkfedilinkarrow-up3·11 months agoFor divisibility by 13, take the last number, multiply by 4 and add to the rest. For divisibility by 17, take the last number, multiply by 5 and subtract from the rest. For divisibility by 19, take the last number, multiply by 2 and add to the rest. In fact, you can adapt the method to check for divisibility by any prime number k.
Our plan to find the witch has worked, boys! Get her!
For divisibility by 13, take the last number, multiply by 4 and add to the rest.
For divisibility by 17, take the last number, multiply by 5 and subtract from the rest.
For divisibility by 19, take the last number, multiply by 2 and add to the rest.
In fact, you can adapt the method to check for divisibility by any prime number k.