login
Pseudoprimes to base 36.
1

%I #19 Jun 13 2018 09:16:21

%S 35,91,185,217,259,301,403,481,559,679,703,1105,1111,1147,1261,1295,

%T 1333,1387,1591,1729,1891,2465,2651,2701,2821,3007,3145,3367,3421,

%U 3565,3589,3913,4123,4141,4171,4495,5551,5611,5713,6001,6485,6533,6601,6643,7471

%N Pseudoprimes to base 36.

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

%H T. D. Noe, <a href="/A020164/b020164.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 = 36; 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_