(12-27-2025, 05:57 PM)daExile schrieb: I answered 6.
For n = 2026 = 2 * 1013, only a repeated pattern of length 2 would work, and you can solve it as the system { n1 * n1 = n2; n2 + n2 = n1 } to find the values 1/2; 1/4, which give us a sum of 759.75 for whole arrangement.
For n = 2024 = 2 * 2 * 2 * 253, that sequence would work, too, but other periods like 4 or 8 could be possible, too. I tried to do some guesswork first, to see if I can find other sequences (by starting with two numbers and continuing the sequence, to see if it eventually loops), and found some other examples, like { 1; -1; -2; 2; 4; 2; -2; -1 }, so for n = 2024 the arrangement is not unique.
Your {} sums to 3. As the Periode fits 253 times in 2024, the total sum in 3*253=759.

