Addition-subtraction chain problem

Revision en1, by Santa__Claus, 2023-10-25 17:51:31

Hello dear programmers! Is there anyway to calculate the minimum length of the addition subtraction chain for any integer n up to 1000?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Santa__Claus 2023-10-25 20:18:12 0 (published)
en2 English 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 English Santa__Claus 2023-10-25 17:51:31 169 Initial revision (published)