Ponder This Challenge - September 2026 - Loeschian Arithmetic Progressions
- Ponder This
Given a finite sequence of length , , let's first remove the sequence's first element. We then define the sequence of the partial sums of its remaining elements as .
For this sequence of length N−1, let's repeat the "remove first element" and "generate new sequence from the partial sums" operations to obtain sequences of length until we end up with a one-element sequence. We call this element The SumSum of the original sequence.
For example, given the 10-element sequence , the SumSum of the sequence is 16,796.
Your goal: For and , find the SumSum modulo of the sequence defined by .
A Bonus "*" will be given for finding for and the SumSum modulo of the sequence given by .