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.

Showing 1-1 of 1 results.

A031358 Number of coincidence site lattices of index 4n+1 in lattice Z^2.

Original entry on oeis.org

1, 2, 0, 2, 2, 0, 2, 2, 0, 2, 2, 0, 0, 2, 0, 2, 4, 0, 2, 0, 0, 4, 2, 0, 2, 2, 0, 2, 2, 0, 0, 2, 0, 0, 2, 0, 4, 2, 0, 2, 0, 0, 2, 2, 0, 2, 4, 0, 2, 2, 0, 4, 0, 0, 0, 4, 0, 2, 2, 0, 2, 0, 0, 0, 2, 0, 4, 2, 0, 2, 2, 0, 2, 2, 0, 0, 4, 0, 2, 2, 0, 4, 0, 0, 2, 0, 0, 2, 2, 0, 0, 4, 0, 2, 4, 0, 0, 2, 0, 2, 2, 0, 2, 0, 0, 2
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A175647, A031359, A331140, A106594, A094178 (positions of nonzero terms).

Programs

  • PARI
    t1=direuler(p=2,1200,(1+(p%4<2)*X))
    t2=direuler(p=2,1200,1/(1-(p%4<2)*X))
    t3=dirmul(t1,t2)
    t4=vector(200,n,t3[4*n+1]) \\ and then prepend 1

Formula

Dirichlet series: Product_{primes p == 1 mod 4} (1+p^(-s))/(1-p^(-s)).
a(n) = 2*A106594(n) for n > 0. - Andrey Zabolotskiy, Jan 30 2020

Extensions

More terms from N. J. A. Sloane, Mar 13 2009
Added condition that p must be prime to the Dirichlet series. - N. J. A. Sloane, May 26 2014
Offset corrected by Andrey Zabolotskiy, Jan 30 2020
Showing 1-1 of 1 results.