OFFSET
1,1
COMMENTS
A128356 = {20, 21, 1555, 889, 253, 2041, 5846759, ...} = Least number k>1 (that is not the power of prime p) such that k divides (p+1)^k-1, where p = prime(n). Most listed terms are primes, except a(7) = 20231*17 and a(8) = 410819*19. a(15) = 12409. a(16) = 71233.
Note that all prime listed terms of {a(n)} coincide with terms of A128456 = {2, 7, 311, 127, 23, 157, 7563707819165039903, 75368484119, 47, 9629, 311, 25679, 821, ...} = least prime factor of ((p+1)^p - 1)/p^2, where p = prime(n).
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Mar 02 2007, Mar 09 2007
EXTENSIONS
Terms a(14) onwards from Max Alekseyev, Feb 08 2010
STATUS
approved