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.

A006234 a(n) = n*3^(n-4).

Original entry on oeis.org

1, 4, 15, 54, 189, 648, 2187, 7290, 24057, 78732, 255879, 826686, 2657205, 8503056, 27103491, 86093442, 272629233, 860934420, 2711943423, 8523250758, 26732013741, 83682825624, 261508830075, 815907549834, 2541865828329
Offset: 3

Views

Author

Keywords

Comments

For n >= 1 a(n) is also the determinant of the n-3 X n-3 matrix with 4's on the diagonal and 1's elsewhere. - Ahmed Fares (ahmedfares(AT)my-deja.com), May 06 2001
a(n+3) = det(M(n)) where M(n) is the n X n matrix with m(i,i) = 4, m(i,j) = i/j for i != j. - Benoit Cloitre, Feb 01 2003
Main diagonal of array defined by m(1,j) = j; m(i,1) = i and m(i,j) = m(i-1,j) + 2*m(i-1,j-1). - Benoit Cloitre, Jun 13 2003
a(n+3) is the number of words of length n on {A, B, C, D} with no D appearing anywhere to the right of an A. - Rob Pratt, Aug 04 2004
Number of spanning trees in the book graph of order n-2, i.e., S_{n-2} X P_2 (S_k = the star graph on k nodes) (conjectured). This conjecture is true - see Doslic (2013). - N. J. A. Sloane, Dec 28 2013
Conjecture: a(n+2) is the total number of parts used in the compositions of n if the parts can be runs of any length from 1 to n, and contain any integers from 1 to n. (The number of such compositions is given by A000244(n-1).) - Gregory L. Simay, May 27 2017
a(n+3) is the number of words of length n defined on 4 letters where one of the letters is used at most once. - Enrique Navarrete, Mar 14 2024

Examples

			For n=3, the total number of parts is (3+2)3^(3+2-4)=(5)(3)=15 (each part indicated by "[]"): [3]; [2,1]; [1,2]; [2],[1]; [1],[2]; [1,1,1]; [1,1],[1]; [1],[1,1]; [1],[1],[1]. Note that these 15 parts are arranged into 9 = A000244(3-1)compositions. - _Gregory L. Simay_, May 27 2017
		

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Binomial transform of A001792.

Programs

Formula

G.f.: (1-2*x)/(1-3*x)^2. - Simon Plouffe in his 1992 dissertation.
a(n+3) = Sum_{k=0..n} A112626(n, k). - Ross La Haye, Jan 11 2006
G.f.: Hypergeometric2F1([1,4],[3],3*x). - R. J. Mathar, Aug 09 2015
From Amiram Eldar, Jan 18 2021: (Start)
Sum_{n>=1} 1/a(n) = 81*log(3/2).
Sum_{n>=1} (-1)^(n+1)/a(n) = 81*log(4/3). (End)
E.g.f.: x*(exp(3*x) - 3*x - 1)/27. - Stefano Spezia, Mar 04 2023
E.g.f. (with offset 0): exp(3*x)*(1+x). - Enrique Navarrete, Mar 14 2024