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.

A350872 Number of coincidence site lattices of index n in square lattice.

This page as a plain text file.
%I A350872 #27 Oct 23 2023 02:01:28
%S A350872 1,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,
%T A350872 0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,4,0,0,0,
%U A350872 0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,4,0,0
%N A350872 Number of coincidence site lattices of index n in square lattice.
%C A350872 A coincidence site lattice (CSL), or coincidence sublattice, is a full-rank sublattice arising as an intersection of the parent lattice with its copy rotated around the origin. It is necessarily primitive.
%C A350872 A primitive sublattice of the square lattice is a CSL if it is square (i. e., similar to the parent lattice) and has odd index.
%C A350872 In this sequence, any two CSLs differing by any isometry are counted as distinct.
%C A350872 a(n) is also the number of ordered pairs of coprime integers (p, q) with p >= 0 and q > 0 such that p^2 + q^2 = n^2.
%H A350872 Amiram Eldar, <a href="/A350872/b350872.txt">Table of n, a(n) for n = 1..10000</a>
%H A350872 Michael Baake and Peter Zeiner, <a href="https://arxiv.org/abs/1709.07317">Geometric enumeration problems for lattices and embedded Z-modules</a>, arXiv:1709.07317 [math.MG], 2017;  in: <a href="http://www.aperiodicorder.org">Aperiodic Order</a>, vol. 2: Crystallography and Almost Periodicity, eds. M. Baake and U. Grimm, Cambridge University Press, Cambridge (2017), pp. 73-172.
%H A350872 <a href="/index/Sq#sqlatt">Index entries for sequences related to square lattice</a>.
%H A350872 <a href="/index/Su#sublatts">Index entries for sequences related to sublattices</a>.
%F A350872 Multiplicative with a(p^e) = 2 if p == 1 (mod 4), otherwise 0.
%F A350872 a(4*n+1) = A031358(n), other terms are 0.
%F A350872 a(n) = 2 * A024362(n) for n > 1.
%F A350872 Dirichlet convolution of A000089 and A154269.
%F A350872 Dirichlet convolution of A338690 and A271102.
%F A350872 From _Amiram Eldar_, Oct 23 2023: (Start)
%F A350872 Dirichlet g.f.: Product_{primes p == 1 (mod 4)} (1 + 1/p^s)/(1 - 1/p^s).
%F A350872 Sum_{k=1..n} a(k) = (1/Pi) * n + O(sqrt(n)*log(n)).
%F A350872 (both from Baake and Zeiner, 2017) (End)
%e A350872 a(5) = 2 index-5 CSLs have bases (2, 1), (-1, 2) and (1, 2), (-2, 1).
%t A350872 csl[1] = 1;
%t A350872 csl[n_] := With[{f = First@Transpose@FactorInteger@n}, If[Union@Mod[f, 4] == {1}, 2^Length@f, 0]];
%t A350872 Array[csl, 87]
%o A350872 (PARI) a(n) = {my(f = factor(n)); prod(i = 1, #f~, if(f[i, 1]%4 == 1, 2, 0));} \\ _Amiram Eldar_, Oct 23 2023
%Y A350872 Cf. A031358 (nonzero quadrisection), A004613 (positions of nonzero terms), A024362, A154269, A338690, A271102.
%Y A350872 Cf. enumeration of wider classes of sublattices of Z^2: A000203 (all sublattices), A350871 (all well-rounded sublattices), A002654 (all square sublattices), A001615 (all primitive sublattices), A000089 (all primitive square sublattices).
%Y A350872 Cf. enumeration of CSLs in other lattices: A331140 (Z^4), A331139 (D_4), A331142 (A_4).
%K A350872 nonn,mult
%O A350872 1,5
%A A350872 _Andrey Zabolotskiy_, Jan 20 2022