OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Marjorie Senechal, Introduction to lattice geometry. In M. Waldschmidt et al., eds., From Number Theory to Physics, pp. 476-495. Springer, Berlin, Heidelberg, 1992. See Cor. 3.7.
FORMULA
Sum_{k=1..n} a(k) ~ n * (2*log(n) + 4*gamma - 571/168), where gamma is Euler's constant (A001620). - Amiram Eldar, Feb 02 2025
EXAMPLE
Of the five different Voronoi cells of 3-dimensional lattices, only two are isohedral, so a(3) = 2: the cube and the rhombic dodecahedron, the Voronoi cells of the primitive cubic and the face-centered cubic lattices.
MAPLE
d2:=proc(n) local c; if n <= 3 then return(0); fi;
c:=NumberTheory[tau](n)-1;
if (n mod 2)=0 then c:=c-1; fi;
if (n mod 3)=0 then c:=c-1; fi; c; end; # A321014
d3:=proc(n) local c; c:=0;
if (n mod 6)=0 then c:=c+1; fi;
if (n mod 7)=0 then c:=c+1; fi;
if (n mod 8)=0 then c:=c+1; fi; c; end; # A321013
[seq(NumberTheory[tau](n)+d2(n)+d3(n), n=1..120)];
PROG
(PARI) a(n) = 2*numdiv(n) + sum(k = 6, 8, !(n % k)) + n%2 + (n%3>0) - 3; \\ Amiram Eldar, Feb 02 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 04 2018
STATUS
approved