A035267 Indices of nonzero terms in expansion of Dirichlet series Product_p (1-(Kronecker(m,p)+1)*p^(-s)+Kronecker(m,p)*p^(-2s))^(-1) for m= 37.
1, 3, 4, 7, 9, 11, 12, 16, 21, 25, 27, 28, 33, 36, 37, 41, 44, 47, 48, 49, 53, 63, 64, 67, 71, 73, 75, 77, 81, 83, 84, 99, 100, 101, 107, 108, 111, 112, 121, 123, 127, 132, 137, 139, 141, 144, 147, 148, 149, 151, 157, 159, 164, 169, 173, 175, 176, 181, 188
Offset: 1
Keywords
Links
- N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
Programs
-
Mathematica
Reap[For[n = 0, n <= 100, n++, If[ Reduce[ 3*x^2 + x*y - 3*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]] (* N. J. A. Sloane, Jun 05 2014 *)
-
PARI
m=37; select(x -> x, direuler(p=2,101,1/(1-(kronecker(m,p)*(X-X^2))-X)), 1) \\ Fixed by Andrey Zabolotskiy, Jul 30 2020
Extensions
More terms from Colin Barker, Jun 17 2014
Comments