Take a test Sign in 中文
← Exercise 928 →
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 928
Consider the following operation. Given a positive integer $n$, if $n$ is a multiple of $3$, replace $n$ by $\frac n3$; if $n$ is not a multiple of $3$, replace $n$ by $n+10$. Start with $n=77$. What value results after performing this operation exactly $100$ times?
← Back to Problem 928
Solution
  1. $77\to87\to29\to39\to13\to23\to33\to11\to21\to7\to17\to27\to9\to3\to1\to11\to\cdots$
  2. From step $7$ the values cycle $11,21,7,17,27,9,3,1$ (length $8$). $100-7=93\equiv5\pmod 8$.
  3. So the value is $\boxed{9}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year