OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
FORMULA
a(n+1) = a(n) + gpf(A080183(n)) for n > 0.
MATHEMATICA
gpf[n_] := FactorInteger[n][[-1, 1]];
a[n_] := a[n] = If[n == 1, 1, a[n-1] + gpf[Sum[a[i], {i, 1, n-1}]]];
Array[a, 40] (* Jean-François Alcover, Dec 17 2021 *)
PROG
(PARI) \\ here b(n) is A006530(n).
b(n)={if(n==1, 1, my(f=factor(n)[, 1]); f[#f])}
seq(n)={my(a=vector(n), s=1); a[1] = 1; for(n=2, n, a[n] = a[n-1] + b(s); s += a[n]); a} \\ Andrew Howroyd, Apr 20 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 05 2003
EXTENSIONS
Terms a(30) and beyond from Andrew Howroyd, Apr 20 2021
STATUS
approved