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.

A355492 a(n) = 7*3^n - 2.

Original entry on oeis.org

5, 19, 61, 187, 565, 1699, 5101, 15307, 45925, 137779, 413341, 1240027, 3720085, 11160259, 33480781, 100442347, 301327045, 903981139, 2711943421, 8135830267, 24407490805, 73222472419, 219667417261, 659002251787, 1977006755365, 5931020266099, 17793060798301, 53379182394907
Offset: 0

Views

Author

Jianing Song, Oct 07 2022

Keywords

Comments

Right ending points of the gaps in A171884. The left ending points are given in A198643.

Examples

			The numbers not appearing in A171884 are those in the range [5*3^k-1, 7*3^k-2] for some k; that is, [4, 5] U [14, 19] U [44, 61] U ...
		

Crossrefs

Programs

  • Mathematica
    7*3^Range[0, 50] - 2 (* Paolo Xausa, Jun 10 2024 *)
  • PARI
    a(n)=7*3^n-2

Formula

G.f.: (5-x)/((1-x)*(1-3*x)).
E.g.f.: 7*exp(3*x) - 2*exp(x).