login
Pseudoprimes to base 95.
1

%I #15 Aug 03 2014 14:01:13

%S 91,94,141,341,561,658,671,742,1111,1551,1603,1891,1921,2806,2821,

%T 2977,3131,3367,3421,3601,4089,4371,4741,5461,5551,6161,6533,6601,

%U 6721,7107,8249,8601,9121,9641,10011,11041,13361,14241,15841,16939,17907,18019

%N Pseudoprimes to base 95.

%C Composite numbers n such that 95^(n-1) == 1 (mod n).

%H T. D. Noe, <a href="/A020223/b020223.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 = 95; 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_