# Cantor Sequence

Computer Science Level 3

Consider the sequence $$\{ 1/1, 1/2, 2/1, 3/1, 2/2, 1/3, \ldots\}$$ as shown above.

What is the $$3974^\text{th}$$ term?

×