OFFSET
1,1
COMMENTS
That is, all b for which b^(s-1) = 1 (mod s), where s is in A181780. Looking at the graph, it is apparent when a number such as 561 is a Carmichael number: there are 318 bases coprime to 561. These start at a(1937) and continue to a(2254).
LINKS
T. D. Noe, Rows n = 1..500 of an irregular triangle
Karsten Meyer, Tabelle Pseudoprimzahlen (15-4999)
EXAMPLE
The irregular triangle begins
4, 11
8, 13
7, 18
9, 25
10, 23
6, 29
14, 25
8, 17, 19, 26, 28, 37
18, 19, 30, 31
16, 35
MATHEMATICA
t = {}; n = 1; While[Length[t] < 100, n++; If[! PrimeQ[n], s = Select[Range[2, n-2], PowerMod[#, n-1, n] == 1 &]; If[s != {}, AppendTo[t, {n, Length[s], s}]]]]; Transpose[t][[3]]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
T. D. Noe, Apr 13 2012
STATUS
approved