OFFSET
1,2
LINKS
Michel Marcus, Table of n, a(n) for n = 1..5000
MATHEMATICA
a[1] = 1; a[n_] := a[n] = (s = Sum[a[k], {k, n-1}]; For[m = 1, DivisorSigma[0, m] != DivisorSigma[0, s + m], m++]; m); Table[a[n], {n, 95}] (* Farideh Firoozbakht, May 28 2009 *)
PROG
(PARI) lista(nn) = {k = 1; print1(k, ", "); s = k; for (n=2, nn, k = 1; while(numdiv(k) != numdiv(k+s), k++); print1(k, ", "); s += k; ); } \\ Michel Marcus, Sep 04 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, May 24 2009
EXTENSIONS
More terms from Farideh Firoozbakht, May 28 2009
STATUS
approved