Take any 4-digit number (not all identical), mix the digits, subtract the small from the big, and repeat. In 7 steps or less, you’ll always land on 6174.

8675
8765-5678=3,087 
8730-0378=8,352
8532-2358=6,174

Deterministic math magic.