Well, yeah, pretty much.
In number theory you study properties/patterns of the numbers. This is an example of such a property.
These properties often seem like they don’t have any applications, and often they don’t, but not always. For example, cryptography is basically all based on number theory.