cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Nov 16 2024

Keywords

Comments

Will every integer appear in the sequence?

Examples

			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
		

Crossrefs

See A342072 and A378107 for similar sequences.

Programs

  • PARI
    \\ See Links section.