OFFSET
2,1
LINKS
Robert Israel, Table of n, a(n) for n = 2..10000
EXAMPLE
a(11) = gpf(43) = 43;
a(12) = gpf(46) = 23.
MAPLE
gpf:= proc(n) max(numtheory:-factorset(n)) end proc:
map(gpf, ListTools:-PartialSums(map(gpf, [$2..100])));
MATHEMATICA
FactorInteger[#][[-1, 1]]&/@Accumulate[Table[FactorInteger[n][[-1, 1]], {n, 2, 80}]] (* Harvey P. Dale, Feb 01 2025 *)
PROG
(PARI) gpf(n) = vecmax(factor(n)[, 1]);
a(n) = gpf(sum(k=2, n, gpf(k))); \\ Michel Marcus, Jun 02 2021
CROSSREFS
KEYWORD
AUTHOR
Paul Finley (pfinley(AT)touro.edu), Sep 21 2007
STATUS
approved