OFFSET
1,1
COMMENTS
This sequence is the list of least unhappy numbers (A161872) with all terms < 3 removed.
LINKS
Lucas A. Brown, C program.
EXAMPLE
The first term in this sequence corresponds to base 16. In base 16, 2 is happy because the sequence it generates is 2 -> 4 -> (1,0) -> 1, while 3 is unhappy because the sequence it generates is 3 -> 9 -> (5,1) -> (1,10) -> (6,5) -> (3,13) -> (11,2) -> (7,13) -> (13,10) -> (1,0,13) -> (10,10) -> (12,8) -> (13,0) -> (10,9) -> (11,5) -> (9,2) -> (5,5) -> (3,2) -> (0,13) -> (10,9) -> ..., which repeats with period 6.
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Lucas A. Brown, Apr 26 2023
STATUS
approved