A263429 Smallest prime p such that binomial(2*p-1, p-1) == 1 (mod p^n), or 0 if no such p exists.
2, 3, 5, 16843
Offset: 1
Links
- R. J. McIntosh, On the converse of Wolstenholme's theorem, Acta Arithmetica, Vol. 71, No. 4 (1995), 381-389.
Programs
-
PARI
a(n) = my(p=2); while(Mod(binomial(2*p-1, p-1), p^n)!=1, p=nextprime(p+1)); p
Comments