Let

be the sequence defined from a
given initial value

by the recurrence

.
Then, for a suitable initial value

, the number

is
prime iff

. In general

depends
both on

and on

. We describe a slight modification of this
algorithm which determines primality of numbers

with
a seed which depends only on

, provided

. The proof of validity uses biquadratic reciprocity.