# Question 22524: Shift the Full State and Append Each Exact New Scalar

[Return to catalogue page 113](https://ocme.evemisslab.com/en/questions/page/113/)

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20261014-advance-20261110-r05-recurrence-relation-foundations/#q-20261014-advance-20261110-r05-recurrence-relation-0049)

This teaching derivation has second-context AI mathematical and bilingual semantic review, limited to the model and assumptions stated in this question. It has no human review or new Lean proof and does not promote the original question or MKO to Canonical truth.

R0044-22524 · q-20261014-advance-20261110-r05-recurrence-relation-0049



## Original question and givens

Use order r=4, coefficients=[2, 4, 6, 8] in oldest-to-newest order, constant=1 and initial_values=[23, 24, 25, 26], where initial_values[j]=a_j. For n≥r, a_n=constant+sum over j=0..r−1 of coefficients[j]*a_(n−r+j). The state shifts left then appends the new scalar. All intermediate integer operations must be safe. Target index=10. Give (order, initial_values, target_n, prefix, target_value, certificate).


- G001 — Use order r=4, coefficients=[2, 4, 6, 8] in oldest-to-newest order, constant=1 and initial_values=[23, 24, 25, 26], where initial_values[j]=a_j. For n≥r, a_n=constant+sum over j=0..r−1 of coefficients[j]*a_(n−r+j). The state shifts left then appends the new scalar. All intermediate integer operations must be safe. Target index=10. Give (order, initial_values, target_n, prefix, target_value, certificate).





## Definition and scope

Use the original question domain, assumptions and cited MKO definitions. This item has second-context mathematical and bilingual review, with the model, answer and every arithmetic step independently recomputed from the original parameters; the source question remains a candidate.


- [mko-recurrence-relation](https://ocme.evemisslab.com/en/mko/mko-recurrence-relation/)





## Step-by-step derivation

S001 · impliesBefore

source operation=recurrence-forward-generation;original snapshot and mathematics retained

After

explicit ordered source output fields=[order, initial_values, target_n, prefix, target_value, certificate]

Conditions: none

Keep the historical interface marker and list ordered source fields without JavaScript.Tags are not additional evidence;fixed No markers retain their scope.The ordering helper supplies protocol order,not mathematical correctness.

Step identifiers and dependenciesRule: source_ordered_interface_explicit_without_javascript · Uses: G001





S002 · impliesBefore

recurrence ORIGINAL:ORIGINAL order=4;oldest-to-newest coefficients=[2, 4, 6, 8];constant=1;ALL initial a_0..a_(r-1)=[23, 24, 25, 26]

After

for EVERY n>=4,a_n=constant+sum_j coefficients[j]*a_(n-r+j);current prefix length=4;forward rule is total and single-valued

Conditions: none

Fix all r initials and the oldest-to-newest coefficient roles.Given the preceding r values,the next value is uniquely determined.This is a forward definition,not a closed form or convergence claim.

Step identifiers and dependenciesRule: recurrence_complete_initial_state_and_total_single_value_rule · Uses: G001, S001





S003 · calculationBefore

recurrence ORIGINAL n=4 ORIGINAL coefficient0 times a_0 := mul(2, 23)

After

recurrence ORIGINAL n=4 ORIGINAL coefficient0 times a_0 = 46

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S002





S004 · calculationBefore

recurrence ORIGINAL n=4 partial sum after coefficient0 := sum(1, 46)

After

recurrence ORIGINAL n=4 partial sum after coefficient0 = 47

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S003





S005 · calculationBefore

recurrence ORIGINAL n=4 ORIGINAL coefficient1 times a_1 := mul(4, 24)

After

recurrence ORIGINAL n=4 ORIGINAL coefficient1 times a_1 = 96

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S004





S006 · calculationBefore

recurrence ORIGINAL n=4 partial sum after coefficient1 := sum(47, 96)

After

recurrence ORIGINAL n=4 partial sum after coefficient1 = 143

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S005





S007 · calculationBefore

recurrence ORIGINAL n=4 ORIGINAL coefficient2 times a_2 := mul(6, 25)

After

recurrence ORIGINAL n=4 ORIGINAL coefficient2 times a_2 = 150

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S006





S008 · calculationBefore

recurrence ORIGINAL n=4 partial sum after coefficient2 := sum(143, 150)

After

recurrence ORIGINAL n=4 partial sum after coefficient2 = 293

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S007





S009 · calculationBefore

recurrence ORIGINAL n=4 ORIGINAL coefficient3 times a_3 := mul(8, 26)

After

recurrence ORIGINAL n=4 ORIGINAL coefficient3 times a_3 = 208

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S008





S010 · calculationBefore

recurrence ORIGINAL n=4 partial sum after coefficient3 := sum(293, 208)

After

recurrence ORIGINAL n=4 partial sum after coefficient3 = 501

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S009





S011 · impliesBefore

recurrence ORIGINAL:ORIGINAL target n=4;previous state a_(n-r)..a_(n-1)=[23, 24, 25, 26];ALL [j,source_index,coefficient,value,product] rows=[[0, 0, 2, 23, 46], [1, 1, 4, 24, 96], [2, 2, 6, 25, 150], [3, 3, 8, 26, 208]]

After

new a_4=501;next state=[24, 25, 26, 501];drop ONLY oldest state entry then append new scalar;prefix now=[23, 24, 25, 26, 501]

Conditions: none

Multiply each coefficient by its specified original index,add to the constant and check the source safe-integer range.Shift left and append the new scalar;do not reverse coefficients or feed the appended value back into this same update.

Step identifiers and dependenciesRule: recurrence_EVERY_state_update_shift_left_append_exact · Uses: G001, S010





S012 · calculationBefore

recurrence ORIGINAL n=5 ORIGINAL coefficient0 times a_1 := mul(2, 24)

After

recurrence ORIGINAL n=5 ORIGINAL coefficient0 times a_1 = 48

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S011





S013 · calculationBefore

recurrence ORIGINAL n=5 partial sum after coefficient0 := sum(1, 48)

After

recurrence ORIGINAL n=5 partial sum after coefficient0 = 49

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S012





S014 · calculationBefore

recurrence ORIGINAL n=5 ORIGINAL coefficient1 times a_2 := mul(4, 25)

After

recurrence ORIGINAL n=5 ORIGINAL coefficient1 times a_2 = 100

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S013





S015 · calculationBefore

recurrence ORIGINAL n=5 partial sum after coefficient1 := sum(49, 100)

After

recurrence ORIGINAL n=5 partial sum after coefficient1 = 149

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S014





S016 · calculationBefore

recurrence ORIGINAL n=5 ORIGINAL coefficient2 times a_3 := mul(6, 26)

After

recurrence ORIGINAL n=5 ORIGINAL coefficient2 times a_3 = 156

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S015





S017 · calculationBefore

recurrence ORIGINAL n=5 partial sum after coefficient2 := sum(149, 156)

After

recurrence ORIGINAL n=5 partial sum after coefficient2 = 305

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S016





S018 · calculationBefore

recurrence ORIGINAL n=5 ORIGINAL coefficient3 times a_4 := mul(8, 501)

After

recurrence ORIGINAL n=5 ORIGINAL coefficient3 times a_4 = 4008

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S017





S019 · calculationBefore

recurrence ORIGINAL n=5 partial sum after coefficient3 := sum(305, 4008)

After

recurrence ORIGINAL n=5 partial sum after coefficient3 = 4313

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S018





S020 · impliesBefore

recurrence ORIGINAL:ORIGINAL target n=5;previous state a_(n-r)..a_(n-1)=[24, 25, 26, 501];ALL [j,source_index,coefficient,value,product] rows=[[0, 1, 2, 24, 48], [1, 2, 4, 25, 100], [2, 3, 6, 26, 156], [3, 4, 8, 501, 4008]]

After

new a_5=4313;next state=[25, 26, 501, 4313];drop ONLY oldest state entry then append new scalar;prefix now=[23, 24, 25, 26, 501, 4313]

Conditions: none

Multiply each coefficient by its specified original index,add to the constant and check the source safe-integer range.Shift left and append the new scalar;do not reverse coefficients or feed the appended value back into this same update.

Step identifiers and dependenciesRule: recurrence_EVERY_state_update_shift_left_append_exact · Uses: G001, S019





S021 · calculationBefore

recurrence ORIGINAL n=6 ORIGINAL coefficient0 times a_2 := mul(2, 25)

After

recurrence ORIGINAL n=6 ORIGINAL coefficient0 times a_2 = 50

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S020





S022 · calculationBefore

recurrence ORIGINAL n=6 partial sum after coefficient0 := sum(1, 50)

After

recurrence ORIGINAL n=6 partial sum after coefficient0 = 51

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S021





S023 · calculationBefore

recurrence ORIGINAL n=6 ORIGINAL coefficient1 times a_3 := mul(4, 26)

After

recurrence ORIGINAL n=6 ORIGINAL coefficient1 times a_3 = 104

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S022





S024 · calculationBefore

recurrence ORIGINAL n=6 partial sum after coefficient1 := sum(51, 104)

After

recurrence ORIGINAL n=6 partial sum after coefficient1 = 155

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S023





S025 · calculationBefore

recurrence ORIGINAL n=6 ORIGINAL coefficient2 times a_4 := mul(6, 501)

After

recurrence ORIGINAL n=6 ORIGINAL coefficient2 times a_4 = 3006

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S024





S026 · calculationBefore

recurrence ORIGINAL n=6 partial sum after coefficient2 := sum(155, 3006)

After

recurrence ORIGINAL n=6 partial sum after coefficient2 = 3161

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S025





S027 · calculationBefore

recurrence ORIGINAL n=6 ORIGINAL coefficient3 times a_5 := mul(8, 4313)

After

recurrence ORIGINAL n=6 ORIGINAL coefficient3 times a_5 = 34504

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S026





S028 · calculationBefore

recurrence ORIGINAL n=6 partial sum after coefficient3 := sum(3161, 34504)

After

recurrence ORIGINAL n=6 partial sum after coefficient3 = 37665

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S027





S029 · impliesBefore

recurrence ORIGINAL:ORIGINAL target n=6;previous state a_(n-r)..a_(n-1)=[25, 26, 501, 4313];ALL [j,source_index,coefficient,value,product] rows=[[0, 2, 2, 25, 50], [1, 3, 4, 26, 104], [2, 4, 6, 501, 3006], [3, 5, 8, 4313, 34504]]

After

new a_6=37665;next state=[26, 501, 4313, 37665];drop ONLY oldest state entry then append new scalar;prefix now=[23, 24, 25, 26, 501, 4313, 37665]

Conditions: none

Multiply each coefficient by its specified original index,add to the constant and check the source safe-integer range.Shift left and append the new scalar;do not reverse coefficients or feed the appended value back into this same update.

Step identifiers and dependenciesRule: recurrence_EVERY_state_update_shift_left_append_exact · Uses: G001, S028





S030 · calculationBefore

recurrence ORIGINAL n=7 ORIGINAL coefficient0 times a_3 := mul(2, 26)

After

recurrence ORIGINAL n=7 ORIGINAL coefficient0 times a_3 = 52

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S029





S031 · calculationBefore

recurrence ORIGINAL n=7 partial sum after coefficient0 := sum(1, 52)

After

recurrence ORIGINAL n=7 partial sum after coefficient0 = 53

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S030





S032 · calculationBefore

recurrence ORIGINAL n=7 ORIGINAL coefficient1 times a_4 := mul(4, 501)

After

recurrence ORIGINAL n=7 ORIGINAL coefficient1 times a_4 = 2004

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S031





S033 · calculationBefore

recurrence ORIGINAL n=7 partial sum after coefficient1 := sum(53, 2004)

After

recurrence ORIGINAL n=7 partial sum after coefficient1 = 2057

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S032





S034 · calculationBefore

recurrence ORIGINAL n=7 ORIGINAL coefficient2 times a_5 := mul(6, 4313)

After

recurrence ORIGINAL n=7 ORIGINAL coefficient2 times a_5 = 25878

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S033





S035 · calculationBefore

recurrence ORIGINAL n=7 partial sum after coefficient2 := sum(2057, 25878)

After

recurrence ORIGINAL n=7 partial sum after coefficient2 = 27935

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S034





S036 · calculationBefore

recurrence ORIGINAL n=7 ORIGINAL coefficient3 times a_6 := mul(8, 37665)

After

recurrence ORIGINAL n=7 ORIGINAL coefficient3 times a_6 = 301320

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S035





S037 · calculationBefore

recurrence ORIGINAL n=7 partial sum after coefficient3 := sum(27935, 301320)

After

recurrence ORIGINAL n=7 partial sum after coefficient3 = 329255

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S036





S038 · impliesBefore

recurrence ORIGINAL:ORIGINAL target n=7;previous state a_(n-r)..a_(n-1)=[26, 501, 4313, 37665];ALL [j,source_index,coefficient,value,product] rows=[[0, 3, 2, 26, 52], [1, 4, 4, 501, 2004], [2, 5, 6, 4313, 25878], [3, 6, 8, 37665, 301320]]

After

new a_7=329255;next state=[501, 4313, 37665, 329255];drop ONLY oldest state entry then append new scalar;prefix now=[23, 24, 25, 26, 501, 4313, 37665, 329255]

Conditions: none

Multiply each coefficient by its specified original index,add to the constant and check the source safe-integer range.Shift left and append the new scalar;do not reverse coefficients or feed the appended value back into this same update.

Step identifiers and dependenciesRule: recurrence_EVERY_state_update_shift_left_append_exact · Uses: G001, S037





S039 · calculationBefore

recurrence ORIGINAL n=8 ORIGINAL coefficient0 times a_4 := mul(2, 501)

After

recurrence ORIGINAL n=8 ORIGINAL coefficient0 times a_4 = 1002

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S038





S040 · calculationBefore

recurrence ORIGINAL n=8 partial sum after coefficient0 := sum(1, 1002)

After

recurrence ORIGINAL n=8 partial sum after coefficient0 = 1003

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S039





S041 · calculationBefore

recurrence ORIGINAL n=8 ORIGINAL coefficient1 times a_5 := mul(4, 4313)

After

recurrence ORIGINAL n=8 ORIGINAL coefficient1 times a_5 = 17252

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S040





S042 · calculationBefore

recurrence ORIGINAL n=8 partial sum after coefficient1 := sum(1003, 17252)

After

recurrence ORIGINAL n=8 partial sum after coefficient1 = 18255

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S041





S043 · calculationBefore

recurrence ORIGINAL n=8 ORIGINAL coefficient2 times a_6 := mul(6, 37665)

After

recurrence ORIGINAL n=8 ORIGINAL coefficient2 times a_6 = 225990

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S042





S044 · calculationBefore

recurrence ORIGINAL n=8 partial sum after coefficient2 := sum(18255, 225990)

After

recurrence ORIGINAL n=8 partial sum after coefficient2 = 244245

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S043





S045 · calculationBefore

recurrence ORIGINAL n=8 ORIGINAL coefficient3 times a_7 := mul(8, 329255)

After

recurrence ORIGINAL n=8 ORIGINAL coefficient3 times a_7 = 2634040

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S044





S046 · calculationBefore

recurrence ORIGINAL n=8 partial sum after coefficient3 := sum(244245, 2634040)

After

recurrence ORIGINAL n=8 partial sum after coefficient3 = 2878285

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S045





S047 · impliesBefore

recurrence ORIGINAL:ORIGINAL target n=8;previous state a_(n-r)..a_(n-1)=[501, 4313, 37665, 329255];ALL [j,source_index,coefficient,value,product] rows=[[0, 4, 2, 501, 1002], [1, 5, 4, 4313, 17252], [2, 6, 6, 37665, 225990], [3, 7, 8, 329255, 2634040]]

After

new a_8=2878285;next state=[4313, 37665, 329255, 2878285];drop ONLY oldest state entry then append new scalar;prefix now=[23, 24, 25, 26, 501, 4313, 37665, 329255, 2878285]

Conditions: none

Multiply each coefficient by its specified original index,add to the constant and check the source safe-integer range.Shift left and append the new scalar;do not reverse coefficients or feed the appended value back into this same update.

Step identifiers and dependenciesRule: recurrence_EVERY_state_update_shift_left_append_exact · Uses: G001, S046





S048 · calculationBefore

recurrence ORIGINAL n=9 ORIGINAL coefficient0 times a_5 := mul(2, 4313)

After

recurrence ORIGINAL n=9 ORIGINAL coefficient0 times a_5 = 8626

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S047





S049 · calculationBefore

recurrence ORIGINAL n=9 partial sum after coefficient0 := sum(1, 8626)

After

recurrence ORIGINAL n=9 partial sum after coefficient0 = 8627

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S048





S050 · calculationBefore

recurrence ORIGINAL n=9 ORIGINAL coefficient1 times a_6 := mul(4, 37665)

After

recurrence ORIGINAL n=9 ORIGINAL coefficient1 times a_6 = 150660

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S049





S051 · calculationBefore

recurrence ORIGINAL n=9 partial sum after coefficient1 := sum(8627, 150660)

After

recurrence ORIGINAL n=9 partial sum after coefficient1 = 159287

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S050





S052 · calculationBefore

recurrence ORIGINAL n=9 ORIGINAL coefficient2 times a_7 := mul(6, 329255)

After

recurrence ORIGINAL n=9 ORIGINAL coefficient2 times a_7 = 1975530

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S051





S053 · calculationBefore

recurrence ORIGINAL n=9 partial sum after coefficient2 := sum(159287, 1975530)

After

recurrence ORIGINAL n=9 partial sum after coefficient2 = 2134817

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S052





S054 · calculationBefore

recurrence ORIGINAL n=9 ORIGINAL coefficient3 times a_8 := mul(8, 2878285)

After

recurrence ORIGINAL n=9 ORIGINAL coefficient3 times a_8 = 23026280

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S053





S055 · calculationBefore

recurrence ORIGINAL n=9 partial sum after coefficient3 := sum(2134817, 23026280)

After

recurrence ORIGINAL n=9 partial sum after coefficient3 = 25161097

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S054





S056 · impliesBefore

recurrence ORIGINAL:ORIGINAL target n=9;previous state a_(n-r)..a_(n-1)=[4313, 37665, 329255, 2878285];ALL [j,source_index,coefficient,value,product] rows=[[0, 5, 2, 4313, 8626], [1, 6, 4, 37665, 150660], [2, 7, 6, 329255, 1975530], [3, 8, 8, 2878285, 23026280]]

After

new a_9=25161097;next state=[37665, 329255, 2878285, 25161097];drop ONLY oldest state entry then append new scalar;prefix now=[23, 24, 25, 26, 501, 4313, 37665, 329255, 2878285, 25161097]

Conditions: none

Multiply each coefficient by its specified original index,add to the constant and check the source safe-integer range.Shift left and append the new scalar;do not reverse coefficients or feed the appended value back into this same update.

Step identifiers and dependenciesRule: recurrence_EVERY_state_update_shift_left_append_exact · Uses: G001, S055





S057 · calculationBefore

recurrence ORIGINAL n=10 ORIGINAL coefficient0 times a_6 := mul(2, 37665)

After

recurrence ORIGINAL n=10 ORIGINAL coefficient0 times a_6 = 75330

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S056





S058 · calculationBefore

recurrence ORIGINAL n=10 partial sum after coefficient0 := sum(1, 75330)

After

recurrence ORIGINAL n=10 partial sum after coefficient0 = 75331

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S057





S059 · calculationBefore

recurrence ORIGINAL n=10 ORIGINAL coefficient1 times a_7 := mul(4, 329255)

After

recurrence ORIGINAL n=10 ORIGINAL coefficient1 times a_7 = 1317020

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S058





S060 · calculationBefore

recurrence ORIGINAL n=10 partial sum after coefficient1 := sum(75331, 1317020)

After

recurrence ORIGINAL n=10 partial sum after coefficient1 = 1392351

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S059





S061 · calculationBefore

recurrence ORIGINAL n=10 ORIGINAL coefficient2 times a_8 := mul(6, 2878285)

After

recurrence ORIGINAL n=10 ORIGINAL coefficient2 times a_8 = 17269710

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S060





S062 · calculationBefore

recurrence ORIGINAL n=10 partial sum after coefficient2 := sum(1392351, 17269710)

After

recurrence ORIGINAL n=10 partial sum after coefficient2 = 18662061

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S061





S063 · calculationBefore

recurrence ORIGINAL n=10 ORIGINAL coefficient3 times a_9 := mul(8, 25161097)

After

recurrence ORIGINAL n=10 ORIGINAL coefficient3 times a_9 = 201288776

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S062





S064 · calculationBefore

recurrence ORIGINAL n=10 partial sum after coefficient3 := sum(18662061, 201288776)

After

recurrence ORIGINAL n=10 partial sum after coefficient3 = 219950837

Conditions: none

Substitute original roles,indices and established intermediates exactly,not floating-point approximations or another question's data.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S063





S065 · impliesBefore

recurrence ORIGINAL:ORIGINAL target n=10;previous state a_(n-r)..a_(n-1)=[37665, 329255, 2878285, 25161097];ALL [j,source_index,coefficient,value,product] rows=[[0, 6, 2, 37665, 75330], [1, 7, 4, 329255, 1317020], [2, 8, 6, 2878285, 17269710], [3, 9, 8, 25161097, 201288776]]

After

new a_10=219950837;next state=[329255, 2878285, 25161097, 219950837];drop ONLY oldest state entry then append new scalar;prefix now=[23, 24, 25, 26, 501, 4313, 37665, 329255, 2878285, 25161097, 219950837]

Conditions: none

Multiply each coefficient by its specified original index,add to the constant and check the source safe-integer range.Shift left and append the new scalar;do not reverse coefficients or feed the appended value back into this same update.

Step identifiers and dependenciesRule: recurrence_EVERY_state_update_shift_left_append_exact · Uses: G001, S064





S066 · impliesBefore

recurrence ORIGINAL:complete ORIGINAL initial state=[23, 24, 25, 26];actual generated prefix=[23, 24, 25, 26, 501, 4313, 37665, 329255, 2878285, 25161097, 219950837]

After

ANY two sequences with SAME r initials and SAME total rule agree at n=4 by substitution,then at every later n by induction;this determines the requested prefix only

Conditions: none

Induct from equality of all r initials:the same single-valued rule gives equality of the next term,and hence every later prefix term.Finite generation proves no closed form,asymptotic behavior or analyticity.

Step identifiers and dependenciesRule: recurrence_forward_uniqueness_induction_not_analytic_claim · Uses: G001, S065









## Reverse checks


- S066 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S065 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S064 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 partial sum after coefficient3 with exact rational arithmetic, not rounded decimals.
- S063 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 ORIGINAL coefficient3 times a_9 with exact rational arithmetic, not rounded decimals.
- S062 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 partial sum after coefficient2 with exact rational arithmetic, not rounded decimals.
- S061 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 ORIGINAL coefficient2 times a_8 with exact rational arithmetic, not rounded decimals.
- S060 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 partial sum after coefficient1 with exact rational arithmetic, not rounded decimals.
- S059 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 ORIGINAL coefficient1 times a_7 with exact rational arithmetic, not rounded decimals.
- S058 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 partial sum after coefficient0 with exact rational arithmetic, not rounded decimals.
- S057 · premise_and_result_audit — Recompute recurrence ORIGINAL n=10 ORIGINAL coefficient0 times a_6 with exact rational arithmetic, not rounded decimals.
- S056 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S055 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 partial sum after coefficient3 with exact rational arithmetic, not rounded decimals.
- S054 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 ORIGINAL coefficient3 times a_8 with exact rational arithmetic, not rounded decimals.
- S053 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 partial sum after coefficient2 with exact rational arithmetic, not rounded decimals.
- S052 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 ORIGINAL coefficient2 times a_7 with exact rational arithmetic, not rounded decimals.
- S051 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 partial sum after coefficient1 with exact rational arithmetic, not rounded decimals.
- S050 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 ORIGINAL coefficient1 times a_6 with exact rational arithmetic, not rounded decimals.
- S049 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 partial sum after coefficient0 with exact rational arithmetic, not rounded decimals.
- S048 · premise_and_result_audit — Recompute recurrence ORIGINAL n=9 ORIGINAL coefficient0 times a_5 with exact rational arithmetic, not rounded decimals.
- S047 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S046 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 partial sum after coefficient3 with exact rational arithmetic, not rounded decimals.
- S045 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 ORIGINAL coefficient3 times a_7 with exact rational arithmetic, not rounded decimals.
- S044 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 partial sum after coefficient2 with exact rational arithmetic, not rounded decimals.
- S043 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 ORIGINAL coefficient2 times a_6 with exact rational arithmetic, not rounded decimals.
- S042 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 partial sum after coefficient1 with exact rational arithmetic, not rounded decimals.
- S041 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 ORIGINAL coefficient1 times a_5 with exact rational arithmetic, not rounded decimals.
- S040 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 partial sum after coefficient0 with exact rational arithmetic, not rounded decimals.
- S039 · premise_and_result_audit — Recompute recurrence ORIGINAL n=8 ORIGINAL coefficient0 times a_4 with exact rational arithmetic, not rounded decimals.
- S038 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S037 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 partial sum after coefficient3 with exact rational arithmetic, not rounded decimals.
- S036 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 ORIGINAL coefficient3 times a_6 with exact rational arithmetic, not rounded decimals.
- S035 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 partial sum after coefficient2 with exact rational arithmetic, not rounded decimals.
- S034 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 ORIGINAL coefficient2 times a_5 with exact rational arithmetic, not rounded decimals.
- S033 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 partial sum after coefficient1 with exact rational arithmetic, not rounded decimals.
- S032 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 ORIGINAL coefficient1 times a_4 with exact rational arithmetic, not rounded decimals.
- S031 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 partial sum after coefficient0 with exact rational arithmetic, not rounded decimals.
- S030 · premise_and_result_audit — Recompute recurrence ORIGINAL n=7 ORIGINAL coefficient0 times a_3 with exact rational arithmetic, not rounded decimals.
- S029 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S028 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 partial sum after coefficient3 with exact rational arithmetic, not rounded decimals.
- S027 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 ORIGINAL coefficient3 times a_5 with exact rational arithmetic, not rounded decimals.
- S026 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 partial sum after coefficient2 with exact rational arithmetic, not rounded decimals.
- S025 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 ORIGINAL coefficient2 times a_4 with exact rational arithmetic, not rounded decimals.
- S024 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 partial sum after coefficient1 with exact rational arithmetic, not rounded decimals.
- S023 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 ORIGINAL coefficient1 times a_3 with exact rational arithmetic, not rounded decimals.
- S022 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 partial sum after coefficient0 with exact rational arithmetic, not rounded decimals.
- S021 · premise_and_result_audit — Recompute recurrence ORIGINAL n=6 ORIGINAL coefficient0 times a_2 with exact rational arithmetic, not rounded decimals.
- S020 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S019 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 partial sum after coefficient3 with exact rational arithmetic, not rounded decimals.
- S018 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 ORIGINAL coefficient3 times a_4 with exact rational arithmetic, not rounded decimals.
- S017 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 partial sum after coefficient2 with exact rational arithmetic, not rounded decimals.
- S016 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 ORIGINAL coefficient2 times a_3 with exact rational arithmetic, not rounded decimals.
- S015 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 partial sum after coefficient1 with exact rational arithmetic, not rounded decimals.
- S014 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 ORIGINAL coefficient1 times a_2 with exact rational arithmetic, not rounded decimals.
- S013 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 partial sum after coefficient0 with exact rational arithmetic, not rounded decimals.
- S012 · premise_and_result_audit — Recompute recurrence ORIGINAL n=5 ORIGINAL coefficient0 times a_1 with exact rational arithmetic, not rounded decimals.
- S011 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S010 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 partial sum after coefficient3 with exact rational arithmetic, not rounded decimals.
- S009 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 ORIGINAL coefficient3 times a_3 with exact rational arithmetic, not rounded decimals.
- S008 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 partial sum after coefficient2 with exact rational arithmetic, not rounded decimals.
- S007 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 ORIGINAL coefficient2 times a_2 with exact rational arithmetic, not rounded decimals.
- S006 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 partial sum after coefficient1 with exact rational arithmetic, not rounded decimals.
- S005 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 ORIGINAL coefficient1 times a_1 with exact rational arithmetic, not rounded decimals.
- S004 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 partial sum after coefficient0 with exact rational arithmetic, not rounded decimals.
- S003 · premise_and_result_audit — Recompute recurrence ORIGINAL n=4 ORIGINAL coefficient0 times a_0 with exact rational arithmetic, not rounded decimals.
- S002 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S001 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.





## Result

(4, [23, 24, 25, 26], 10, [23, 24, 25, 26, 501, 4313, 37665, 329255, 2878285, 25161097, 219950837], 219950837, exact_forward_application_only)

The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.





## This question review and source binding

Review date: 2026-10-26

Original questions, answers, step expressions, numeric ASTs and historical records are retained. Source candidate labels remain historical and are not overwritten as formal proof.

Source hashes and review receipts
- input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
- original question SHA-256: 06f7de834357239f365046bde176e1632494f470a11b3e927393a1ddfa684728
- candidate record SHA-256: d6cf5d90ea20086e14792e063206d5d580672986df55b4574210fec26afea6da
- semantic review receipt SHA-256: 89b8e810eced1a69dbfef28d4b112e829edf156c7905a86e39a3f4958cd75e81
- question-first witness SHA-256: b2e8b769c463242f05172564ae96e310403eae151e1ec30bcb50be3ffe12cfc7
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261014-advance-20261110-r05-recurrence-relation-0049.json)




