OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program
EXAMPLE
a(3) = 3 since gpf(1) + gpf(2) = 3 and gpf(3) = 3.
a(4) = 6 since gpf(1) + gpf(2) + gpf(3) = 6 and gpf(6) = 3.
MATHEMATICA
s={1, 2}; g={1, 2}; Do[k=2; Until[!MemberQ[s, k]&&FactorInteger[k][[ -1, 1]]==FactorInteger[Total[g]][[-1, 1]], k++]; AppendTo[s, k]; AppendTo[g, FactorInteger[k][[-1, 1]]], {n, 64}]; s (* James C. McMahon, Apr 14 2026 *)
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jean-Marc Rebert, Apr 07 2026
STATUS
approved
