1993 AMC 12 Problem 30

Attempt Problem 30 of the 1993 AMC 12 below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1993 AMC 12 solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

30.

Given 0≤x0<1,0\le x_0\lt1, let xn={2xn−1,if 2xn−1<1,2xn−1−1,if 2xn−1≥1 x_n= \begin{cases} 2x_{n-1},&\text{if }2x_{n-1}\lt1,\\ 2x_{n-1}-1,&\text{if }2x_{n-1}\ge1 \end{cases} for all integers n>0.n\gt0. For how many x0x_0 is it true that x0=x5?x_0=x_5?
00
11
55
3131
infinitely many
Answer: D
Concepts:iterationfractional partmodular equation
Small hint:
Each step takes the fractional part of twice the preceding value
Big hint:
Thus x5x_5 is the fractional part of 32x032x_0
Solution:
The recurrence is xn={2xn−1},x_n=\{2x_{n-1}\}, so x5={32x0}.x_5=\{32x_0\}. The equality x5=x0x_5=x_0 requires 32x0−x0=⌊32x0⌋, 32x_0-x_0=\lfloor32x_0\rfloor, hence 31x031x_0 is an integer. The values x0=k31x_0=\frac{k}{31} for k=0,k=0, 1,1, …,\ldots, 3030 all satisfy the recurrence and lie in [0,1).[0,1). There are 3131 values. Thus the correct answer is D.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.