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.

A084790 Increasing gaps between 3-smooth numbers (upper end).

Original entry on oeis.org

2, 6, 12, 16, 24, 48, 96, 128, 192, 288, 324, 384, 576, 648, 729, 864, 972, 1152, 1296, 1458, 1728, 1944, 2592, 2916, 3456, 3888, 5184, 5832, 7776, 10368, 11664, 15552, 23328, 31104, 46656, 93312, 177147, 209952, 236196, 279936, 314928
Offset: 1

Views

Author

Reinhard Zumkeller, Jun 03 2003

Keywords

Crossrefs

Programs

  • Mathematica
    s = {}; m = 13; Do[n = 3^k; While[n <= 3^m, AppendTo[s, n]; n*=2], {k, 0, m}]; s = Union[s]; d = Differences @ s; v = DeleteDuplicates @ FoldList[Max, d]; Map[s[[1 + First@ Position[d, #]]] &, v] //Flatten (* Amiram Eldar, Jan 30 2020 *)

Formula

a(n) = A084788(n) + A084789(n).
a(n) = A003586(A084791(n) + 1).