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.

A085750 Determinant of the symmetric n X n matrix A defined by A[i,j] = |i-j| for 1 <= i,j <= n.

Original entry on oeis.org

0, -1, 4, -12, 32, -80, 192, -448, 1024, -2304, 5120, -11264, 24576, -53248, 114688, -245760, 524288, -1114112, 2359296, -4980736, 10485760, -22020096, 46137344, -96468992, 201326592, -419430400, 872415232, -1811939328, 3758096384, -7784628224, 16106127360
Offset: 1

Views

Author

Yuval Dekel (dekelyuval(AT)hotmail.com), Jul 21 2003

Keywords

Comments

The determinant of the distance matrix of a tree with vertex set {1,2,...,n}. The distance matrix is the n X n matrix in which the (i,j)-term is the number of edges in the unique path from vertex i to vertex j. [The matrix A in the definition is the distance matrix of the path-tree 1-2-...-n.]
Hankel transform of A100071. Also Hankel transform of C(2n-2,n-1)(-1)^(n-1). Inverse binomial transform of -n. - Paul Barry, Jan 11 2007
Pisano period lengths: 1, 1, 3, 1, 20, 3, 42, 1, 9, 20, 55, 3,156, 42, 60, 1,136, 9,171, 20, ... - R. J. Mathar, Aug 10 2012

Crossrefs

Essentially the same as A001787.

Programs

Formula

a(n) = (-1)^(n+1) * (n-1) * 2^(n-2) = (-1)^(n+1) * A001787(n-1).
G.f.: -x/(1+2x)^2. - Paul Barry, Jan 11 2007
a(n) = -4*a(n-1) - 4*a(n-2); a(1) = 0, a(1) = -1. - Philippe Deléham, Nov 03 2008
E.g.f.: -x*exp(-2*x). - Stefano Spezia, Sep 30 2022

Extensions

More terms from Philippe Deléham, Nov 16 2008