OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Srinivasa Ramanujan, Highly composite numbers, Proceedings of the London Mathematical Society, Ser. 2, Vol. XIV, No. 1 (1915): 347-409. A variant of better quality with an additional footnote is available at Ramanujan Papers.
FORMULA
MATHEMATICA
a[n_] := NextPrime[Max[Power @@@ FactorInteger[n]] - 1]; a[1] = 2; Array[a, 100] (* Amiram Eldar, Jan 17 2025 *)
PROG
(PARI) apply( {A329570(n, f=Col(factor(max(n, 2))), P=nextprime(vecmax([log(f[1])*f[2] | f<-f])))=[while( logint(P, f[1]) < f[2], P=nextprime(P+1)) | f<-f]; P}, [1..99])
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jan 03 2020
STATUS
approved
