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.

A190541 a(n) = 7^n - 3^n.

Original entry on oeis.org

0, 4, 40, 316, 2320, 16564, 116920, 821356, 5758240, 40333924, 282416200, 1977149596, 13840755760, 96887416084, 678218289880, 4747547161036, 33232887522880, 232630384847044, 1628413210489960, 11398894023111676, 79792262810827600, 558545853622930804, 3909821017201928440
Offset: 0

Views

Author

Vincenzo Librandi, Jun 02 2011

Keywords

Comments

Length-n words from letters {1,2,...,7} with at least one letter greater than 3. - Joerg Arndt, Jun 02 2011

Crossrefs

Similar sequences: A121213, A016169.

Programs

Formula

a(n) = 10*a(n-1) - 21*a(n-2).
G.f.: 4*x/((1-3*x)*(1-7*x)). - Vincenzo Librandi, Oct 04 2014
a(n) = A000420(n) - A000244(n). - Wesley Ivan Hurt, Oct 04 2014
E.g.f.: 2*exp(5*x)*sinh(2*x). - Elmo R. Oliveira, Mar 31 2025
a(n) = 4*A016138(n-1). - R. J. Mathar, Jun 07 2025