Timeline for check if an unsigned binary number is divisible by 15
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2023 at 10:34 | comment | added | greybeard |
even c3(,r3) = r2 + c2 + 1 fails for 000 .
|
|
Nov 24, 2017 at 4:49 | comment | added | Nick Gammon |
Your method fails for the inputs 0FF, 1EF, 2DF, 3CF, 4BF, 5AF, 69F, 78F, 87F, 96F, A5F, B4F, C3F, D2F, E1F, F0F, FFF . Your third line needs to read c3,r3 = r2 + c2 + 1
|
|
Nov 23, 2017 at 22:25 | history | edited | Peter Green | CC BY-SA 3.0 |
added 2 characters in body
|
Nov 23, 2017 at 21:14 | history | answered | Peter Green | CC BY-SA 3.0 |