login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A253234 Smallest prime p such that p^2 divides n^(p-1)-(n-1)^(p-1). 1
1093, 23, 5, 3, 3457, 72673, 13, 67, 67 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
According to the generalized Fermat's little theorem, if a prime p does not divide n or n-1, then p must divide n^(p-1)-(n-1)^(p-1), so we can ask that whether there exists a Wieferich-type prime to the "base" (n, n-1), that is, a prime p such that p^2 divides n^(p-1)-(n-1)^(p-1).
a(n) is currently unknown for n = {11, 36, 49, 52, 66, 70, 84, 89, 102, 112, 133, 142, 148, ...}
a(11) > 6.5*10^10.
LINKS
FORMULA
a(9k+5) = 3.
MATHEMATICA
f[n_] := Block[{k = 1}, While[k < 10^8 && PowerMod[n, Prime[k] - 1, Prime[k]^2] != PowerMod[n - 1, Prime[k] - 1, Prime[k]^2], k++ ]; If[k == 10^8, 0, Prime[k]]]; Table[ f[n], {n, 2, 75}]
PROG
(PARI) for(n=2, 10, forprime(p=2, 1e8, if(Mod(n, p^2)^(p-1)==Mod(n-1, p^2)^(p-1), print1(p, ", "); next({2}))); print1("--, "))
CROSSREFS
Sequence in context: A258368 A174422 A255838 * A138698 A342390 A252520
KEYWORD
nonn,more,hard
AUTHOR
Eric Chen, May 17 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:23 EDT 2024. Contains 371906 sequences. (Running on oeis4.)