login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A020173
Pseudoprimes to base 45.
1
4, 22, 44, 76, 133, 253, 418, 436, 451, 481, 638, 763, 1247, 1417, 1541, 1562, 1729, 1771, 1891, 1981, 2047, 2059, 2071, 2356, 2398, 2737, 2821, 3053, 3289, 3553, 4033, 4807, 4921, 5377, 5963, 6322, 6533, 6601, 6817, 7337, 8284, 8321, 8911, 9361, 10879
OFFSET
1,1
COMMENTS
Composite numbers n such that 45^(n-1) == 1 (mod n).
MATHEMATICA
base = 45; 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 *)
Select[Range[11000], CompositeQ[#]&&PowerMod[45, #-1, #]==1&] (* Harvey P. Dale, Oct 12 2019 *)
CROSSREFS
Cf. A001567 (pseudoprimes to base 2).
Sequence in context: A163484 A326737 A297434 * A290709 A163433 A187930
KEYWORD
nonn
STATUS
approved