A126432 Double Wieferich primes with q = 5.
1645333507, 188748146801
Offset: 1
Links
- C. K. Caldwell, The Prime Glossary, Fermat quotient.
- Wikipedia, Wieferich pair
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
Select[Range[33000],PowerMod[2,#,#]==PowerMod[2,#,#^2]&] (* Harvey P. Dale, Oct 29 2017 *)
Do[f=PowerMod[3,n,n];g=PowerMod[3,n,n^2];If[f==g,Print[n]],{n,1,1100000}] Select[Range[600000],PowerMod[3,#,#]==PowerMod[3,#,#^2]&] (* Harvey P. Dale, Feb 21 2013 *)
Do[f=PowerMod[2,n,n];g=PowerMod[2,n,n^2];If[f==g&&!IntegerQ[Log[2,n]],Print[n]],{n,1,6000000}]
Comments