Let
be an integer which is not a square and
be the
th solution of the Pell equation
. Given an interesting set of positive integers
, we ask how many positive integer solutions
can the equation
have. We show that under mild assumptions on
(for example, when
and
contains infinitely many even integers), then the equation
has two solutions
for infinitely many
. We show that this is best possible whenever
is the set of values of a binary recurrent sequence
with real roots and
is large enough (with respect to
). We also show that for the particular case when
, the equation
has at most two positive integer solutions
for all
. The proofs use linear forms in logarithms. This is joint work with Bernadette Faye.