Take a test Sign in 中文
← Exercise 748 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 748
A finite sequence of four-digit integers has the property that the hundreds, tens, and units digits of each term are, respectively, the thousands, hundreds, and tens digits of the next term, and the hundreds, tens, and units digits of the last term are, respectively, the thousands, hundreds, and tens digits of the first term. Let $S$ be the sum of all the terms. What is the largest prime factor that always divides $S$?
← Back to Problem 748
Solution
  1. Each units digit reappears as the tens digit of the next term, then as the hundreds digit, then as the thousands digit, and the sequence closes up into a cycle. So every digit that is a units digit appears exactly once in each of the four positions, and $S=1111T$, where $T$ is the sum of the units digits.
  2. $1111=11\cdot101$, so $101$ always divides $S$.
  3. For $1234,2341,3412,4123$: $S=11110=2\cdot5\cdot11\cdot101$. So no larger prime always divides $S$, and the answer is $\boxed{101}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year