login
Pseudoprimes to base 12.
2

%I #19 Jun 13 2018 03:43:11

%S 65,91,133,143,145,247,377,385,703,1045,1099,1105,1649,1729,1885,1891,

%T 2041,2233,2465,2701,2821,2983,3367,3553,5005,5365,5551,5785,6061,

%U 6305,6601,8911,9073,10585,11077,12403,12673,12905,13051,13333,13345,13585

%N Pseudoprimes to base 12.

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

%H T. D. Noe, <a href="/A020140/b020140.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 = 12; 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_