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.

Showing 1-2 of 2 results.

A207259 The number of 2 X 2 matrices with no real eigenvalues and whose entries are integers of absolute value at most n.

Original entry on oeis.org

14, 148, 642, 1832, 4246, 8420, 15202, 25296, 39742, 59668, 86338, 120840, 165174, 220356, 288322, 370816, 470254, 587940, 726994, 888728, 1076422, 1292404, 1539442, 1819440, 2136734, 2493700, 2893586, 3339544, 3835782, 4384036, 4990466, 5656752, 6388158
Offset: 1

Views

Author

W. Edwin Clark, Nov 26 2012

Keywords

Crossrefs

Programs

  • Maple
    a:=proc(n)
    local x,y,z,w,Eig,count;
    count:=0;
    for x from -n to n do
    for y from -n to n do
    for z from -n to n do
    for w from -n to n do
    Eig:=LinearAlgebra:-Eigenvalues(Matrix([[x,y],[z,w]]));
    if Im(Eig[1]) <> 0  then count:=count+1; fi;
    od:
    od:
    od:
    od:
    count;
    end:

Formula

a(n) = (2*n+1)^4 - A219736(n).

Extensions

a(16)-a(33) from Hiroaki Yamanouchi, Oct 03 2014

A364886 Number of n X n (-1, 1)-matrices which have only eigenvalues with strictly negative real part (which implies that the matrix has all nonzero eigenvalues).

Original entry on oeis.org

1, 2, 20, 640, 97824, 47545088
Offset: 1

Views

Author

Thomas Scheuerle, Aug 12 2023

Keywords

Comments

As this problem is symmetric with sign we can get the same numbers for strictly positive real parts.
All values for n > 1 are even, because a transposed matrix has the same spectrum of eigenvalues.
Matrices with determinant 0 are not counted.
Let M be such a matrix then the limit of ||exp(t*M)*y|| if t goes to infinity will be zero.
n = 5 is the first case where not all entries on the main diagonal are -1. 93984 matrices with 5 times -1 on the main diagonal and 5*768 with 4 times -1 on the main diagonal have only eigenvalues with strictly negative real part.
In the case n = 6, 43586048 matrices with 6 times -1 on the main diagonal, 6*656000 matrices with 5 times -1 on the main diagonal and 15*1536 matrices with 5 times -1 on the main diagonal have only eigenvalues with strictly negative real part.

Examples

			For n = 2 the matrices are:
.
    -1,  1
    -1, -1
.
    -1, -1
     1, -1.
		

Crossrefs

Showing 1-2 of 2 results.