OFFSET
1,2
COMMENTS
Is this sequence defined?
EXAMPLE
a(1) to a(4) are sigma(n) as these increase: 1 3 4 7. sigma(5)=6 and as this decreases, we examine sigma(5)+sigma(4)=7+6=13.
PROG
(PARI) lista(nn) = my(v=vector(nn)); v[1]=sigma(1); for (i=2, nn, k=0; while (sum(j=i-k, i, sigma(j))<v[i-1], k++); v[i]=sum(j=i-k, i, sigma(j))); v; \\ edited by Michel Marcus, Dec 28 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Mar 22 2004
EXTENSIONS
Name edited by and more terms from Michel Marcus, Dec 28 2022
STATUS
editing