The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A362026 Smallest unhappy number in base A161874(n). 1
3, 7, 3, 5, 20, 3, 12, 3, 3, 14, 3, 3, 3, 3, 3, 3, 23, 3, 23, 3, 261, 6, 12 (list; graph; refs; listen; history; text; internal format)
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.
FORMULA
a(n) = A161872(A161874(n)).
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
Sequence in context: A193534 A096247 A337013 * A122583 A001265 A060443
KEYWORD
nonn,base,more
AUTHOR
Lucas A. Brown, Apr 26 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 22 01:33 EDT 2024. Contains 372741 sequences. (Running on oeis4.)