login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035269 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= 41. 1
1, 2, 4, 5, 8, 9, 10, 16, 18, 20, 23, 25, 31, 32, 36, 37, 40, 41, 43, 45, 46, 49, 50, 59, 61, 62, 64, 72, 73, 74, 80, 81, 82, 83, 86, 90, 92, 98, 100, 103, 107, 113, 115, 118, 121, 122, 124, 125, 127, 128, 131, 139, 144, 146, 148, 155, 160, 162, 163, 164 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Also, positive numbers represented by 2x^2+3xy-4y^2, discriminant 41.

The PARI code gives the sequence A035223: 1, 2, 0, 3, 2, 0, 0, 4, 1, 4, 0, ... - Colin Barker, Jun 18 2014

LINKS

Table of n, a(n) for n=1..60.

N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)

MATHEMATICA

Reap[For[n = 0, n <= 100, n++, If[Reduce[ 2*x^2 + 3*x*y - 4*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]] - N. J. A. Sloane, Jun 05 2014

PROG

(PARI) direuler(p=2, 101, 1/(1-(kronecker(m, p)*(X-X^2))-X))

CROSSREFS

Primes: A141181.

Cf. A035223.

Sequence in context: A003714 A010402 A010443 * A267703 A277075 A038558

Adjacent sequences:  A035266 A035267 A035268 * A035270 A035271 A035272

KEYWORD

nonn

AUTHOR

N. J. A. Sloane.

EXTENSIONS

More terms from Colin Barker, Jun 17 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 15 15:59 EST 2018. Contains 317239 sequences. (Running on oeis4.)