login
A378106
Lexicographically earliest sequence of distinct positive integers such that among two consecutive terms, the least term divides a positive number whose decimal expansion appears in that of the other term.
2
1, 2, 4, 8, 16, 3, 6, 12, 24, 48, 96, 9, 18, 36, 72, 7, 14, 28, 56, 5, 10, 20, 40, 80, 160, 15, 30, 60, 120, 240, 480, 32, 64, 128, 256, 25, 50, 100, 200, 400, 800, 1600, 75, 150, 300, 600, 1200, 2400, 4800, 192, 19, 38, 76, 152, 13, 26, 52, 104, 208, 416, 41
OFFSET
1,2
COMMENTS
Will every integer appear in the sequence?
LINKS
Rémy Sigrist, PARI program
EXAMPLE
The first terms are:
n a(n)
-- ----
1 1
2 2
3 4
4 8
5 16
6 3 (3 divides 6, and 6 appears in 16)
7 6
8 12
9 24
10 48
11 96
12 9
13 18
14 36
15 72
PROG
(PARI) \\ See Links section.
CROSSREFS
See A342072 and A378107 for similar sequences.
Sequence in context: A036122 A050124 A101943 * A331440 A247243 A341819
KEYWORD
nonn,base,new
AUTHOR
Rémy Sigrist, Nov 16 2024
STATUS
approved