MathDB
Problems
Contests
National and Regional Contests
Iran Contests
Iran Team Selection Test
2004 Iran Team Selection Test
2
2
Part of
2004 Iran Team Selection Test
Problems
(1)
Pell equation
Source: Iran TST 2004
1/9/2009
Suppose that
p
p
p
is a prime number. Prove that the equation x^2\minus{}py^2\equal{}\minus{}1 has a solution if and only if
p
≡
1
(
m
o
d
4
)
p\equiv1\pmod 4
p
≡
1
(
mod
4
)
.
modular arithmetic
number theory proposed
number theory