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.

A209995 Number of 2 X 2 matrices with all elements in {0,1,...,n} and determinant in {0,1,...,n}.

This page as a plain text file.
%I A209995 #6 Jan 14 2017 01:43:42
%S A209995 1,13,50,120,244,410,681,981,1431,1948,2623,3315,4373,5323,6588,8009,
%T A209995 9706,11290,13535,15503,18233,20912,23879,26725,30910,34443,38556,
%U A209995 42887,48041,52519,58888,63994,70647,77056,83981,91064,100373
%N A209995 Number of 2 X 2 matrices with all elements in {0,1,...,n} and determinant in {0,1,...,n}.
%C A209995 See A210000 for a guide to related sequences.
%t A209995 a = 0; b = n; z1 = 40;
%t A209995 t[n_] := t[n] = Flatten[Table[w*z - x*y, {w, a, b}, {x, a, b}, {y, a, b}, {z, a, b}]]
%t A209995 c[n_, k_] := c[n, k] = Count[t[n], k]
%t A209995 c1[n_, m_] := c1[n, m] = Sum[c[n, k], {k, 0, m}]
%t A209995 Table[c1[n, n], {n, 0, z1}]   (* A209995 *)
%Y A209995 Cf. A210000.
%K A209995 nonn
%O A209995 0,2
%A A209995 _Clark Kimberling_, Mar 18 2012