%I #11 Aug 28 2016 18:18:34
%S 0,0,24,96,0,144,0,192,0,0,0,288,0,336,0,0,0,432,0,480,0,0,0,576,0,0,
%T 0,0,0,720,0,768,0,0,0,0,0,912,0,0,0,1008,0,1056,0,0,0,1152,0,0,0,0,0,
%U 1296,0,0,0,0,0,1440,0,1488,0,0,0,0,0,1632,0,0,0,1728,0,1776,0,0,0,0,0
%N Number of prime Hurwitz quaternions of norm n.
%D L. E. Dickson, Algebras and Their Arithmetics, Dover, 1960, Section 91.
%H R. J. Mathar, <a href="/A055671/b055671.txt">Table of n, a(n) for n = 0..10000</a>
%F a(n) = number of vectors of norm n in D_4 lattice (A004011) if n is a prime, otherwise a(n) = 0.
%t a[p_?PrimeQ] := Reduce[ a^2 + b^2 + c^2 + d^2 == 4p, {a, b, c, d}, Integers] // Length; a[_] = 0; Table[ a[n], {n, 0, 78}] (* _Jean-François Alcover_, Oct 03 2012 *)
%Y Cf. A055669-A055672.
%K nonn,easy,nice
%O 0,3
%A _N. J. A. Sloane_, Jun 09 2000
%E More terms from Lambert Klasen (Lambert.Klasen(AT)gmx.net), Jun 10 2005
|