Smallest Adjacent Happy Numbers

From ProofWiki
Jump to navigation Jump to search

Theorem

The smallest adjacent happy numbers are $31$ and $32$.


Proof

This can be determined by testing all the positive integers in succession for happiness.

Checking $31$ and $32$:


\(\ds 31\) \(\to\) \(\ds 3^2 + 1^2 = 9 + 1 = 10\)
\(\ds \) \(\to\) \(\ds 1^2 = 1\) and so $31$ is happy.


\(\ds 32\) \(\to\) \(\ds 3^2 + 2^2 = 9 + 4 = 13\)
\(\ds \) \(\to\) \(\ds 1^2 + 3^2 = 1 + 9 = 10\)
\(\ds \) \(\to\) \(\ds 1^2 = 1\) and so $32$ is happy.

$\blacksquare$


Sources