login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A255923 Bases b for which exactly two Wieferich primes p with p < b exist such that p is a base-b Wieferich prime. 11

%I #14 Oct 14 2019 01:18:59

%S 17,18,26,37,40,41,49,51,57,62,63,65,67,69,71,73,75,76,81,82,93,97,

%T 101,109,121,124,125,127,130,134,149,157,164,165,168,172,174,179,188,

%U 190,193,195,199,201,202,206,207,214,217,218,221,229,235,236,239,241

%N Bases b for which exactly two Wieferich primes p with p < b exist such that p is a base-b Wieferich prime.

%C Numbers b such that A255920(b) = 2.

%H Felix Fröhlich, <a href="/A255923/b255923.txt">Table of n, a(n) for n = 1..10000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/WieferichPrime.html">Wieferich Prime</a>

%o (PARI) is(n) = my(i=0); forprime(p=1, n-1, if(Mod(n, p^2)^(p-1)==1, i++); if(i > 2, return(0))); i==2

%o (Sage) [b for b in range(3,242) if len([p for p in range(2,b) if is_prime(p) and mod(b, p^2)^(p-1)==1])==2] # _Danny Rorabaugh_, Mar 31 2015

%Y Cf. A255920.

%Y Cf. bases b with exactly k base-b Wieferich primes less than b: A255921 (k=0), A255922 (k=1), A255924 (k=3), A255925 (k=4), A325881 (k=5), A325882 (k=6), A325883 (k=7), A325884 (k=8), A325885 (k=9), A325886 (k=10).

%K nonn

%O 1,1

%A _Felix Fröhlich_, Mar 23 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)