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”).

A154555
Primes p such that m=(p-1)/2 is the least number such that p divides m!+1.
2
7, 11, 19, 43, 47, 127, 131, 163, 179, 191, 199, 263, 347, 367, 419, 431, 443, 491, 503, 523, 571, 619, 691, 727, 743, 787, 839, 863, 1051, 1087, 1091, 1123, 1291, 1319, 1367, 1451, 1487, 1499, 1571, 1579, 1583, 1667, 1723, 1783, 1823, 1931, 1951, 2003, 2039
OFFSET
1,1
COMMENTS
The graph of A073944 shows two prominent curves. This sequence gives the primes on the lower curve. Primes on the upper curve are in sequence A154554.
MATHEMATICA
Rest[Reap[Do[p=Prime[i]; f=1; m=1; While[f=Mod[f*m, p]; f+1<p, m++ ]; If[m==(p-1)/2, Sow[p]], {i, 400}]]][[1, 1]]
CROSSREFS
Sequence in context: A038984 A165549 A055939 * A285016 A162857 A307965
KEYWORD
nonn
AUTHOR
T. D. Noe, Jan 12 2009
STATUS
approved