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.

A055667 Number of Eisenstein-Jacobi primes of norm n.

This page as a plain text file.
%I A055667 #12 Mar 01 2023 15:27:29
%S A055667 0,0,0,6,6,0,0,12,0,0,0,0,0,12,0,0,0,0,0,12,0,0,0,0,0,6,0,0,0,0,0,12,
%T A055667 0,0,0,0,0,12,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,
%U A055667 0,0,12,0,0,0,0,0,12,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0
%N A055667 Number of Eisenstein-Jacobi primes of norm n.
%C A055667 These are the primes in the ring of integers a+b*omega, a and b rational integers, omega = (1+sqrt(-3))/2.
%D A055667 R. K. Guy, Unsolved Problems in Number Theory, A16.
%D A055667 L. W. Reid, The Elements of the Theory of Algebraic Numbers, MacMillan, NY, 1910, see Chap. VI.
%F A055667 a(n) = 6 * A055668(n). - _Franklin T. Adams-Watters_, May 05 2006
%e A055667 There are 6 Eisenstein-Jacobi primes of norm 3, omega-omega^2 times one of the 6 units [ +-1, +-omega, +-omega^2 ] but only one up to equivalence.
%t A055667 a[3] = 6; a[p_ /; PrimeQ[p] && Mod[p, 6] == 1] = 12; a[n_ /; PrimeQ[p = Sqrt[n]] && Mod[p, 3] == 2] = 6; a[_] = 0; Table[a[n], {n, 0, 99}] (* _Jean-François Alcover_, Oct 24 2013, after _Franklin T. Adams-Watters_ *)
%Y A055667 Cf. A055664-A055668, A055025-A055029, A135461, A135462. See A004016 and A035019 for theta series of Eisenstein (or hexagonal) lattice.
%K A055667 nonn,easy,nice
%O A055667 0,4
%A A055667 _N. J. A. Sloane_, Jun 09 2000
%E A055667 More terms from _Franklin T. Adams-Watters_, May 05 2006