OFFSET
1,1
COMMENTS
For the Diophantine equation x^2 - p*y^2 = -4 to have a solution in odd integers x, y we must have p == 5 (mod 8)
Calculated using Dario Alpern's quadratic Diophantine solver, see link.
Suggested by a discussion on the Number Theory Mailing List, circa Aug 01 2007.
LINKS
Robin Visser, Table of n, a(n) for n = 1..10000
Dario Alpern, Generic two integer variable equation solver.
CROSSREFS
KEYWORD
nonn
AUTHOR
Warut Roonguthai, Aug 06 2007
STATUS
approved