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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067274 Number of ordered integer pairs (b,c), with -n<=b<=n, -n<=c<=n, such that both roots of x^2+bx+c=0 are integers. 2
1, 4, 10, 16, 25, 31, 41, 47, 57, 66, 76, 82, 96, 102, 112, 122, 135, 141, 155, 161, 175, 185, 195, 201, 219, 228, 238, 248, 262, 268, 286, 292, 306, 316, 326, 336, 357, 363, 373, 383, 401, 407, 425, 431, 445, 459, 469, 475, 497, 506, 520, 530, 544, 550, 568 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Conjecture: The difference a(n)-a(n-1) is 6 if and only if n is a prime number. This has been checked up to about n=300 and may be easy to prove.

LINKS

Eric Weisstein's World of Mathematics, Quadratic Equation

FORMULA

a(n) = a(n-1)+2*(tau(n)+1)+b(n), where b(n) = 1 if n is a square else 0 = 010052(n), n>1, a(1) = 4. - Vladeta Jovovic (vladeta(AT)eunet.rs), Mar 05 2002

CROSSREFS

Sequence in context: A161644 A184527 A049881 * A054901 A019574 A095273

Adjacent sequences:  A067271 A067272 A067273 * A067275 A067276 A067277

KEYWORD

nonn

AUTHOR

John W. Layman (layman(AT)math.vt.edu), Feb 21 2002

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

Content is available under The OEIS End-User License Agreement .

Last modified February 14 10:19 EST 2012. Contains 205614 sequences.