OFFSET
1,1
LINKS
Daniel Suteu, Table of n, a(n) for n = 1..33
T. S. Motzkin, Sorting numbers for cylinders and other classification numbers, in Combinatorics, Proc. Symp. Pure Math. 19, AMS, 1971, pp. 167-176. [Annotated, scanned copy]
FORMULA
MATHEMATICA
FactorInteger[#][[-1, 1]]&/@Table[(p^p-1)/(p-1), {p, Prime[Range[15]]}] (* Harvey P. Dale, Aug 27 2016 *)
PROG
(PARI) a(n) = my(p=prime(n)); vecmax(factor((p^p-1)/(p-1))[, 1]); \\ Daniel Suteu, May 26 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 31 2012
STATUS
approved