Explore related knowledge and questions →

Question 2528: First Repeat, Transient Length and the Starting Point’s Period

On this page
  1. Original question and givens
  2. Definition and scope
  3. Step-by-step derivation
  4. Reverse checks
  5. Result
  6. This question review and source binding

Return to catalogue page 13

← Question derivation index · Original question batch

R0004-02528 · q-20261013-advance-20261021-r03-orbit-fixed-periodic-0053

Original question and givens

Use the complete finite self-map on Fin(7)={0,…,6}, T(x)=(a*x+b) mod 7, a=-1, b=-6. Take least nonnegative residues even for negative a*x+b. Fixed points, return times and least positive periods are different notions; the conclusion concerns this finite model only. x=5. Give (modulus,a,b,x,trace before first repeat,repeated state,zero-based cycle-start index,least positive period or nonperiodic-point).

  • G001 — Use the complete finite self-map on Fin(7)={0,…,6}, T(x)=(a*x+b) mod 7, a=-1, b=-6. Take least nonnegative residues even for negative a*x+b. Fixed points, return times and least positive periods are different notions; the conclusion concerns this finite model only. x=5. Give (modulus,a,b,x,trace before first repeat,repeated state,zero-based cycle-start index,least positive period or nonperiodic-point).

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.

Step-by-step derivation

S001 · implies

Before

n=7; a=-1; b=-6

After

S={0,...,6}; T(z)=(a·z+b) mod n

Conditions: none

Remainders lie in0,...,n−1,so every state has one successor in the same finite set;negative dividends do not produce negative canonical remainders.

Step identifiers and dependencies

Rule: finite_self_map · Uses: G001

S002 · implies

Before

start=5

After

record each state before its first successor calculation

Conditions: none

Start with the specified point itself,not its first successor.

Step identifiers and dependencies

Rule: orbit_initial_state · Uses: G001, S001

S003 · calculation

Before

least period step1 product := mul(-1, 5)

After

least period step1 product = -5

Conditions: none

Multiply the current state by the original coefficient a,retaining its sign.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S002

S004 · calculation

Before

least period step1 affine value := sum(-5, -6)

After

least period step1 affine value = -11

Conditions: none

Then add the original constant b;this integer is not yet the canonical state.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · implies

Before

Euclidean division of -11 by 7

After

-11=-2·7+3

Conditions: none

Check the transition using quotient and nonnegative remainder;n>0 and0≤remainder<n ensure uniqueness.

Step identifiers and dependencies

Rule: orbit_successor · Uses: G001, S004

S006 · calculation

Before

least period step2 product := mul(-1, 3)

After

least period step2 product = -3

Conditions: none

Multiply the current state by the original coefficient a,retaining its sign.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · calculation

Before

least period step2 affine value := sum(-3, -6)

After

least period step2 affine value = -9

Conditions: none

Then add the original constant b;this integer is not yet the canonical state.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S006

S008 · implies

Before

Euclidean division of -9 by 7

After

-9=-2·7+5

Conditions: none

Check the transition using quotient and nonnegative remainder;n>0 and0≤remainder<n ensure uniqueness.

Step identifiers and dependencies

Rule: orbit_successor · Uses: G001, S007

S009 · implies

Before

distinct trace=[5, 3]; first repeated state=5

After

cycle_start=0; starting-point least period=2

Conditions: none

The first repeated state locates the cycle entry.If it is the initial point,the preceding states are distinct,so the first return is the least positive period.If entry is later,the initial point lies outside the cycle and never returns.

Step identifiers and dependencies

Rule: finite_orbit_certificate · Uses: G001, S008

Reverse checks

  • S009 · premise_and_result_audit — Replay the cycle of this fixed self-map;return or nonreturn is certified only for this complete finite model,not an unspecified system.
  • 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 least period step2 affine value with exact rational arithmetic, not rounded decimals.
  • S006 · premise_and_result_audit — Recompute least period step2 product 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 least period step1 affine value with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Recompute least period step1 product 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

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

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: 9f915e6db702a8e04259af656bf13e2be823e1344b88bd88ed3bde44f78c39ef
  • candidate record SHA-256: 3e3d05b1f2e9f651b8dbcbdb139a578a0118cd9eae4c4ea54afd904bcc9da5b5
  • semantic review receipt SHA-256: 312ae86315346b8955842a547cb2d09246e1f826755f72c2a51f042e5c7d5c56
  • question-first witness SHA-256: 831f449ed41ff9144a290e534aa32adf7252d15b81c16ed5886a7dfd65dee70c
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON