A238490 Odd primes p that divide a Lucas quotient studied by H. C. Williams: A001353(p - (3/p))/p, where (3/p) is a Jacobi symbol.
103, 2297860813
Offset: 1
Examples
LucasQuotient(103) = 103*851367555454046677501642274766916900879231854719584128208.
Links
- John Blythe Dobson, Table of n, a(n) for n = 1..2
- Karl Dilcher and Ladislav Skula, A new criterion for the first case of Fermat's Last Theorem, Mathematics of Computation, 64 (1995) 363-392.
- Andreas-Stephan Elsenhans and Jörg Jahnel, The Fibonacci sequence modulo p^2 -- An investigation by computer for p < 1014, arxiv 1006.0824 [math.NT], 2010.
- H. C. Williams, Some formulas concerning the fundamental unit of a real quadratic field, Discrete Mathematics, 92 (1991), 431-440.
Programs
-
Mathematica
The following criteria are equivalent: PrimeQ[p] && Mod[(MatrixPower[{{1,2},{1,3}}, p-JacobiSymbol[3,p]-1].{{1},{1}})[[2,1]], p^2]==0 PrimeQ[p] && Mod[Last[LinearRecurrence[{4,-1},{0,1}, p-JacobiSymbol[3,p]+1]], p^2]==0
-
PARI
isprime(p) && (Mod([2, 2; 1, 0], p^2)^(p-kronecker(3, p)))[2, 1]==0 \\ This test, which was used to find the second member of this sequence, is based on the test for A238736 devised by Charles R Greathouse IV
Comments