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!)
A333774 a(0) = 0; for n > 0, a(n) = the smallest positive integer not yet appearing in the sequence such that a(n-1) + a(n) contains as a substring either a(n-1) or a(n). 5
0, 1, 9, 10, 2, 18, 100, 3, 20, 4, 30, 5, 40, 6, 50, 7, 60, 8, 70, 200, 11, 99, 300, 12, 108, 972, 107, 963, 106, 954, 105, 945, 104, 936, 103, 927, 102, 918, 101, 909, 1000, 13, 117, 1053, 116, 1044, 115, 1035, 114, 1026, 113, 1017, 112, 1008, 111, 999, 110, 990, 109, 981, 2000, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
a(1) = 1 as a(0) = a(1) = 0 + 1 = 1 which contains '1' as a substring.
a(2) = 9 as a(1) + a(2) = 1 + 9 = 10 which contains '1' as a substring.
a(4) = 2 as a(3) + a(4) = 10 + 2 = 12 which contains '2' as a substring
a(49) = 1026 as a(48) + a(49) = 114 + 1026 = 1140 which contains '114' as a substring.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A341818 A034058 A347181 * A205151 A167691 A107434
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Apr 05 2020
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 August 13 13:50 EDT 2024. Contains 375142 sequences. (Running on oeis4.)