Let there be a set of N natural numbers 1,2,3,4…N. We are allowed to insert + or − sign in front of each number and add all the resultant numbers. The minimum non-negative value obtained is denoted as D(N). Find the value of D(1)+D(2)+…+D(19216812112)
I proved D(N) = 0 for N = 4k & 4k+3 but I’m not getting ideas for N = 4k+1 & 4k+2.
New contributor
Naga Sai Prajith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.