OFFSET
1,2
LINKS
Rahid Zaman, Table of n, a(n) for n = 1..37
Shyam Sunder Gupta, Happy Numbers, Exploring the Beauty of Fascinating Numbers, Springer (2025) Ch. 7, 209-222.
Rahid Zaman, C++ program to compute a(n)
EXAMPLE
1 and 7 are successive happy numbers and so the first gap is 6. 32 and 44 are successive happy numbers and this is the first gap larger than 6, so 32 is in the sequence as the succeeding term to 1.
PROG
(C++) // See the separate program file.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Shyam Sunder Gupta, Apr 22 2025
EXTENSIONS
a(21) from Amiram Eldar, Apr 26 2025
a(22)-a(37) from Rahid Zaman, Mar 06 2026
STATUS
approved
