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.

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