login
Pseudoprimes to base 58.
1

%I #18 Jun 13 2018 09:16:56

%S 57,133,177,285,341,561,671,703,885,1105,1121,1141,1441,1541,1729,

%T 1891,2065,2821,3009,3097,3165,3363,3365,3781,4061,4071,4371,5605,

%U 6031,6601,7363,7471,7991,8119,8321,8749,8911,9073,11441,11859,12027,12331,12403

%N Pseudoprimes to base 58.

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

%H T. D. Noe, <a href="/A020186/b020186.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 = 58; 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 *)

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

%K nonn

%O 1,1

%A _David W. Wilson_