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.

A302839 Lexicographically earliest sequence of distinct positive terms such that, for any n > 0, A000120(a(n)) <= A053735(a(n+1)).

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 12, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 29, 32, 27, 34, 28, 31, 35, 33, 30, 38, 37, 39, 40, 36, 41, 42, 43, 44, 45, 46, 47, 49, 48, 50, 51, 52, 53, 56, 55, 59, 61, 62, 65, 54, 58, 60, 64, 57, 66, 63, 68
Offset: 1

Views

Author

Rémy Sigrist, Apr 14 2018

Keywords

Comments

See A302840 for a sequence with alternate digital sums instead of digital sums.

Examples

			The first terms, alongside their digital sums in bases 2 and 3, are:
  n   a(n)  d2(a(n))  d3(a(n))
  --  ----  --------  --------
   1     1         1         1
   2     2         1         2
   3     3         2         1
   4     4         1         2
   5     5         2         3
   6     6         2         2
   7     7         3         3
   8     8         1         4
   9     9         2         1
  10    10         2         2
  11    11         3         3
  12    13         3         3
  13    14         3         4
  14    15         4         3
  15    16         1         4
  16    12         2         2
  17    17         2         5
  18    18         2         2
  19    19         3         3
  20    20         2         4
		

Crossrefs

Programs

  • PARI
    See Links section.