Hello dear programmers! Is there anyway to calculate the minimum length of the addition subtraction chain for any integer n up to 1000? https://en.wikipedia.org/wiki/Addition-subtraction_chain.
Addition-subtraction chain problem
Hello dear programmers! Is there anyway to calculate the minimum length of the addition subtraction chain for any integer n up to 1000? https://en.wikipedia.org/wiki/Addition-subtraction_chain.
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en3 |
|
Santa__Claus | 2023-10-25 20:18:12 | 0 | (published) | |
| en2 |
|
Santa__Claus | 2023-10-25 20:17:55 | 58 | Tiny change: 'p to 1000?' -> 'p to 1000? https://en.wikipedia.org/wiki/Addition-subtraction_chain.' (saved to drafts) | |
| en1 |
|
Santa__Claus | 2023-10-25 17:51:31 | 169 | Initial revision (published) |