**Smallest k such that x^k is (+1 or -1) mod p for all nonzero x relatively prime to p, where p=prime(n)=A000040(n).**

*1, 2, 2, 3, 5, 6, 8, 9, 11, 14, 1*

*1 seqfan posts*

Index of A-numbers in seqfan: by ascending order by month by frequency by keyword

Links to OEIS content are included according to The OEIS End-User License Agreement .