login
Pseudoprimes to base 52.
1

%I #24 Aug 05 2024 04:06:43

%S 51,85,159,265,561,671,901,1513,1541,1891,2413,2465,2653,2703,2705,

%T 3111,3201,3421,4081,4187,4505,5151,6307,6433,6533,6601,6943,7201,

%U 8365,8911,9197,9773,9911,10349,10585,11305,12403,13019,13333,14491,15051,15841

%N Pseudoprimes to base 52.

%C Composite numbers n such that 52^(n-1) == 1 (mod n). - _Michel Lagneau_, Feb 18 2012

%H T. D. Noe, <a href="/A020180/b020180.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Ps#pseudoprimes">Index entries for sequences related to pseudoprimes</a>

%t base = 52; t = {}; n = 1; While[Length[t] < 100, n++; If[! PrimeQ[n] && PowerMod[base, n-1, n] == 1, AppendTo[t, n]]]; t (* _T. D. Noe_, Feb 21 2012 *)

%t Select[Range[16000],CompositeQ[#]&&PowerMod[52,#-1,#]==1&] (* _Harvey P. Dale_, May 11 2024 *)

%Y Cf. A001567 (pseudoprimes to base 2).

%K nonn

%O 1,1

%A _David W. Wilson_