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.

A113062 Expansion of theta series of hexagonal net with respect to a node.

Original entry on oeis.org

1, 3, 0, 6, 3, 0, 0, 6, 0, 6, 0, 0, 6, 6, 0, 0, 3, 0, 0, 6, 0, 12, 0, 0, 0, 3, 0, 6, 6, 0, 0, 6, 0, 0, 0, 0, 6, 6, 0, 12, 0, 0, 0, 6, 0, 0, 0, 0, 6, 9, 0, 0, 6, 0, 0, 0, 0, 12, 0, 0, 0, 6, 0, 12, 3, 0, 0, 6, 0, 0, 0, 0, 0, 6, 0, 6, 6, 0, 0, 6, 0, 6, 0, 0, 12, 0, 0, 0, 0, 0, 0, 12, 0, 12, 0, 0, 0, 6, 0, 0
Offset: 0

Views

Author

Michael Somos, Oct 13 2005

Keywords

Comments

The hexagonal net is the familiar 2-dimensional honeycomb (not a lattice) in which each node has 3 neighbors.
Cubic AGM theta functions: a(q) (see A004016), b(q) (A005928), c(q) (A005882).

Examples

			G.f. = 1 + 3*q + 6*q^3 + 3*q^4 + 6*q^7 + 6*q^9 + 6*q^12 + 6*q^13 + 3*q^16 + ...
		

References

  • A. F. Wells, Structural Inorganic Chemistry, Oxford, 5th ed., 1984; see Fig. 3.9(a.1).

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[n_] := 3*DivisorSum[n, {0, 1, -1, 1, 1, -1, -1, 1, -1}[[Mod[#, 9]+1]]&]; Table[a[n], {n, 0, 100}] (* Jean-François Alcover, Nov 04 2015, after 1st PARI script *)
  • PARI
    {a(n) = if( n<1, n==0, 3 * sumdiv(n, d, [ 0, 1, -1, 1, 1, -1, -1, 1, -1][d%9+1]))};
    
  • PARI
    {a(n) = local(A, p, e); if( n<1, n==0, A = factor(n); 3 * prod(k=1, matsize(A)[1], if(p=A[k,1], e=A[k,2]; if(p==3, 2, if(p%6==1, e+1, !(e%2))))))};
    
  • PARI
    {a(n) = local(A); if( n<0, 0, A = x * O(x^n); abs( polcoeff( eta(x + A)^3 / eta(x^3 + A), n)))};
    
  • PARI
    {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( (eta(x + A)^3 + 6 * x * eta(x^9 + A)^3) / eta(x^3 + A), n))}; /* Michael Somos, Aug 15 2006 */

Formula

Moebius transform is period 9 sequence [ 3, -3, 3, 3, -3, -3, 3, -3, 0, ...].
Expansion of a(q^3) + c(q^3) in powers of q where a(), c() are cubic AGM theta functions. - Michael Somos, Aug 15 2006
For n>0, a(n) = 3*b(n) where b(n)=A113063(n) is multiplicative and b(p^e) = 2 if p = 3 and e>0, b(p^e) = e+1 if p == 1 (mod 6), b(p^e) = (1+(-1)^e)/2 if p == 2, 5 (mod 6).
a(3*n + 2) = 0. a(3*n + 1) = A005882(n) = A033685(3*n + 1) = -A005928(3*n + 1). a(3*n) = A004016(n) = A005928(3*n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 4*Pi/(3*sqrt(3)) = 2.418399... (A275486). - Amiram Eldar, Dec 28 2023

Extensions

Definition corrected Michael Somos, Oct 17 2005