OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..100
Wikipedia, Eisenstein integer
EXAMPLE
252 has 60 divisors up to association in Eisenstein integers, more than any previous positive integers, so 252 is a term.
MAPLE
vmax:= 0: recinds:= NULL:
for n from 1 to 100000 do
v := A319442(n);
if v > vmax then vmax:= v; recinds:= recinds, n fi
od:
recinds; # Peter Luschny, Jan 19 2019
MATHEMATICA
f[p_, e_] := Switch[Mod[p, 3], 0, 2*e + 1, 1, (e + 1)^2, 2, e + 1]; eisNumDiv[1] = 1; eisNumDiv[n_] := Times @@ f @@@ FactorInteger[n]; seq = {}; emax = 0; Do[eis = eisNumDiv[n]; If[eis > emax, emax = eis; AppendTo[seq, n]], {n, 1, 10^6}]; seq (* Amiram Eldar, Mar 02 2020 *)
PROG
(PARI)
my(r=0, t); for(n=1, 10^6, t=A319442(n); if(t>r, r=t; print1(n, ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Jan 13 2019
STATUS
approved