Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #10 Jul 29 2024 06:20:38
%S 2,3,29,37,1093,3373,3511,2001907169
%N Primes p such that 2^(p-1) mod p^2 < p+2.
%C a(9) > 10^12. - _Giovanni Resta_, Mar 31 2017
%o (PARI) forprime(p=2, 1e10, a=lift(Mod(2, p^2)^(p-1)); if(a<p+2, print1(p", ")))
%Y Union of A001220 and A125854.
%Y Cf. A121999, A196202.
%K nonn,more
%O 1,1
%A _Gionata Neri_, Mar 31 2017