A
tribonacci–Wieferich prime is a prime
p satisfying , where
h(
m) is the least positive integer
k satisfying [
Tk,
Tk+1,
Tk+2] ≡ [
T0,
T1,
T2] (mod
m) and
Tn denotes the
n-th
tribonacci number. No tribonacci–Wieferich prime exists below 1011. A
Pell–Wieferich prime is a prime
p satisfying
p2 divides
Pp−1, when
p congruent to 1 or 7 (mod 8), or
p2 divides
Pp+1, when
p congruent to 3 or 5 (mod 8), where
Pn denotes the
n-th
Pell number. For example, 13, 31, and 1546463 are Pell–Wieferich primes, and no others below 109 . In fact, Pell–Wieferich primes are 2-Wall–Sun–Sun primes.
Near-Wall–Sun–Sun primes A prime
p such that F_{p - \left(\frac{p}{5}\right)} \equiv Ap \pmod{p^2} with small |
A| is called
near-Wall–Sun–Sun prime. A dozen cases are known where
A = ±1 .
Wall–Sun–Sun primes with discriminant D Wall–Sun–Sun primes can be considered for the
field Q_{\sqrt{D}} with
discriminant D. For the conventional Wall–Sun–Sun primes,
D = 5. In the general case, a
Lucas–Wieferich prime p associated with (
P,
Q) is a Wieferich prime to base
Q and a Wall–Sun–Sun prime with discriminant
D =
P2 − 4
Q. For a prime
p ≠ 2 and not dividing
D, this condition is equivalent to either of the following. •
p2 divides F_k\left(p - \left(\tfrac{D}{p}\right)\right), where \left(\tfrac{D}{p}\right) is the
Legendre symbol; •
Vp(
k, −1) ≡
k (mod
p2), where
Vn(
k, −1) is a Lucas sequence of the second kind. The smallest
k-Wall–Sun–Sun primes for
k = 2, 3, ... are :13, 241, 2, 3, 191, 5, 2, 3, 2683, ... == See also ==