login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A091626 Number of ordered integer pairs (b,c) with 0 <= b, c <= n such that both roots of x^2+bx+c=0 are integers. 3
1, 2, 4, 6, 9, 11, 14, 16, 19, 22, 25, 27, 31, 33, 36, 39, 43, 45, 49, 51, 55, 58, 61, 63, 68, 71, 74, 77, 81, 83, 88, 90, 94, 97, 100, 103, 109, 111, 114, 117, 122, 124, 129, 131, 135, 139, 142, 144, 150, 153, 157, 160, 164, 166, 171, 174, 179, 182, 185, 187 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Griffin N. Macris, Table of n, a(n) for n = 0..9999

Eric Weisstein's World of Mathematics, Quadratic Equation

FORMULA

a(n) = a(n-1) + ceiling(tau(n)/2) + 1, n>1. - Vladeta Jovovic, Jun 12 2004

a(n) = n + floor(sqrt(n))/2 + A006218(n)/2, n>0. - Griffin N. Macris, Jun 14 2016

EXAMPLE

The six quadratics for a(3)=6 and their roots are as follows:

x^2 + 0*x + 0; x=0.

x^2 + 1*x + 0; x=0, x=-1.

x^2 + 2*x + 0; x=0, x=-2.

x^2 + 2*x + 1; x=-1.

x^2 + 3*x + 0; x=0, x=-3.

x^2 + 3*x + 2; x=-1, x=-2.

MATHEMATICA

a[n_] := a[n] = a[n-1] + Ceiling[ DivisorSigma[0, n]/2] + 1; a[0]=1; a[1]=2; Table[a[n], {n, 0, 59}] (* Jean-Fran├žois Alcover, Nov 08 2012, after Vladeta Jovovic *)

CROSSREFS

Cf. A006218, A038548, A067274, A091627.

Sequence in context: A265286 A186343 A224995 * A085223 A163057 A242137

Adjacent sequences:  A091623 A091624 A091625 * A091627 A091628 A091629

KEYWORD

nonn

AUTHOR

Eric W. Weisstein, Jan 24 2004

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 06:27 EDT 2021. Contains 343121 sequences. (Running on oeis4.)