OFFSET
1,10
PROG
(PARI) lista(nn) = my(v=vector(nn), vk=vector(nn)); v[1]=sigma(1); for (i=2, nn, k=0; while (sum(j=i-k, i, sigma(j))<v[i-1], k++); vk[i-1] = k; v[i]=sum(j=i-k, i, sigma(j))); vk; \\ edited by Michel Marcus, Dec 28 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Mar 22 2004
EXTENSIONS
More terms from Michel Marcus, Dec 28 2022
STATUS
approved