login
Pseudoprimes to base 98.
1

%I #20 Jun 13 2018 09:14:39

%S 9,33,45,85,99,153,165,291,451,485,561,565,765,873,1017,1045,1067,

%T 1105,1261,1649,1705,1921,2465,2501,2651,2701,2805,3007,3201,3277,

%U 3565,3585,3609,3729,4005,4069,4365,5085,5797,6817,7345,7471,7701,8245,8321,8965

%N Pseudoprimes to base 98.

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

%H T. D. Noe, <a href="/A020226/b020226.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 = 98; 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_