# Question 1557: A Fixed-Length Discrete Orbit Prefix

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

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20261013-advance-20261020-r01-discrete-dynamical-system-foundations/#q-20261013-advance-20261020-r01-discrete-dynamical-system-0032)

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.

R0002-01557 · q-20261013-advance-20261020-r01-discrete-dynamical-system-0032



## Original question and givens

Use the complete finite self-map on Fin(6)={0,…,5} given by T(x)=(a*x+b) mod 6, a=7, b=11. Choose the least nonnegative residue, including for negative a*x+b. Time is discrete, indexed from 0; a finite orbit is not a general stability result. x0=0, updates=6. Give (modulus, a, b, x0, update count, orbit including x0). Zero updates gives the one-element prefix [x0].


- G001 — Use the complete finite self-map on Fin(6)={0,…,5} given by T(x)=(a*x+b) mod 6, a=7, b=11. Choose the least nonnegative residue, including for negative a*x+b. Time is discrete, indexed from 0; a finite orbit is not a general stability result. x0=0, updates=6. Give (modulus, a, b, x0, update count, orbit including x0). Zero updates gives the one-element prefix [x0].





## 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-discrete-dynamical-system](https://ocme.evemisslab.com/en/mko/mko-discrete-dynamical-system/)





## Step-by-step derivation

S001 · impliesBefore

X={0 through 5}; T(x)=(7x+(11)) mod 6

After

remainder representative always lies in X

Conditions: none

Fix the full finite state carrier and the same update rule;negative integers also use the standard remainder from0 through n−1.

Step identifiers and dependenciesRule: finite_total_map · Uses: G001





S002 · impliesBefore

x₀=0; transitions=6

After

initial orbit prefix=[0]

Conditions: none

Retain the initial state;steps=0 still has one known state,not an empty list.

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





S003 · calculationBefore

transition1: a·x := mul(7, 0)

After

transition1: a·x = 0

Conditions: none

Multiply the original coefficient by the current state;do not clip negative values to0.

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





S004 · calculationBefore

transition1: a·x+b := sum(0, 11)

After

transition1: a·x+b = 11

Conditions: none

Add the same offset before reducing modulo n.

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





S005 · impliesBefore

reduce 11 modulo 6

After

11=1·6+5

Conditions: none

The integer identity together with0≤remainder<n determines the next state.

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





S006 · calculationBefore

transition2: a·x := mul(7, 5)

After

transition2: a·x = 35

Conditions: none

Multiply the original coefficient by the current state;do not clip negative values to0.

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





S007 · calculationBefore

transition2: a·x+b := sum(35, 11)

After

transition2: a·x+b = 46

Conditions: none

Add the same offset before reducing modulo n.

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





S008 · impliesBefore

reduce 46 modulo 6

After

46=7·6+4

Conditions: none

The integer identity together with0≤remainder<n determines the next state.

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





S009 · calculationBefore

transition3: a·x := mul(7, 4)

After

transition3: a·x = 28

Conditions: none

Multiply the original coefficient by the current state;do not clip negative values to0.

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





S010 · calculationBefore

transition3: a·x+b := sum(28, 11)

After

transition3: a·x+b = 39

Conditions: none

Add the same offset before reducing modulo n.

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





S011 · impliesBefore

reduce 39 modulo 6

After

39=6·6+3

Conditions: none

The integer identity together with0≤remainder<n determines the next state.

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





S012 · calculationBefore

transition4: a·x := mul(7, 3)

After

transition4: a·x = 21

Conditions: none

Multiply the original coefficient by the current state;do not clip negative values to0.

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





S013 · calculationBefore

transition4: a·x+b := sum(21, 11)

After

transition4: a·x+b = 32

Conditions: none

Add the same offset before reducing modulo n.

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





S014 · impliesBefore

reduce 32 modulo 6

After

32=5·6+2

Conditions: none

The integer identity together with0≤remainder<n determines the next state.

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





S015 · calculationBefore

transition5: a·x := mul(7, 2)

After

transition5: a·x = 14

Conditions: none

Multiply the original coefficient by the current state;do not clip negative values to0.

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





S016 · calculationBefore

transition5: a·x+b := sum(14, 11)

After

transition5: a·x+b = 25

Conditions: none

Add the same offset before reducing modulo n.

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





S017 · impliesBefore

reduce 25 modulo 6

After

25=4·6+1

Conditions: none

The integer identity together with0≤remainder<n determines the next state.

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





S018 · calculationBefore

transition6: a·x := mul(7, 1)

After

transition6: a·x = 7

Conditions: none

Multiply the original coefficient by the current state;do not clip negative values to0.

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





S019 · calculationBefore

transition6: a·x+b := sum(7, 11)

After

transition6: a·x+b = 18

Conditions: none

Add the same offset before reducing modulo n.

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





S020 · impliesBefore

reduce 18 modulo 6

After

18=3·6+0

Conditions: none

The integer identity together with0≤remainder<n determines the next state.

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





S021 · impliesBefore

computed transitions=6

After

orbit=[0, 5, 4, 3, 2, 1, 0]; number of entries=7

Conditions: none

Apply the same T to the preceding result; k transitions give k+1 states.

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





S022 · impliesBefore

a finite requested prefix

After

no unrequested least-period claim

Conditions: none

This output is the requested prefix;it is not an unverified least-period proof from a few orbit values.

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









## Reverse checks


- S022 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S021 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- 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 transition6: a·x+b with exact rational arithmetic, not rounded decimals.
- S018 · premise_and_result_audit — Recompute transition6: a·x with exact rational arithmetic, not rounded decimals.
- S017 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S016 · premise_and_result_audit — Recompute transition5: a·x+b with exact rational arithmetic, not rounded decimals.
- S015 · premise_and_result_audit — Recompute transition5: a·x with exact rational arithmetic, not rounded decimals.
- S014 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S013 · premise_and_result_audit — Recompute transition4: a·x+b with exact rational arithmetic, not rounded decimals.
- S012 · premise_and_result_audit — Recompute transition4: a·x 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 transition3: a·x+b with exact rational arithmetic, not rounded decimals.
- S009 · premise_and_result_audit — Recompute transition3: a·x with exact rational arithmetic, not rounded decimals.
- S008 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S007 · premise_and_result_audit — Recompute transition2: a·x+b with exact rational arithmetic, not rounded decimals.
- S006 · premise_and_result_audit — Recompute transition2: a·x with exact rational arithmetic, not rounded decimals.
- S005 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S004 · premise_and_result_audit — Recompute transition1: a·x+b with exact rational arithmetic, not rounded decimals.
- S003 · premise_and_result_audit — Recompute transition1: a·x 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

(6, 7, 11, 0, 6, [0, 5, 4, 3, 2, 1, 0])

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: 83ad3352700e47964d2b73e1f214d5f5f2a06f6a7e00b6d5a81efd5a13d370e2
- candidate record SHA-256: 34e08d016a9a4f42606d933134ef892a86a1110b916628039321408c7154fad4
- semantic review receipt SHA-256: 340d74dcc6e37df6249594a0b79a9ee2af804337b7847478b3c1342af9722861
- question-first witness SHA-256: 9a06233d190d31a16f13fb03b6c3ceba4cbb748fff6c997941f66ab1888dcca8
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261013-advance-20261020-r01-discrete-dynamical-system-0032.json)




