[go: up one dir, main page]

login
k associated with A093124.
1

%I #8 Dec 29 2022 09:03:14

%S 0,0,0,1,1,1,1,1,1,2,2,3,3,3,3,3,3,4,4,4,4,5,4,5,5,5,5,5,5,5,5,5,6,7,

%T 6,7,8,9,9,9,9,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,

%U 11,11,11,11,11,11,12,12,13,13,14,13,13,14,15,16,17,17,17,17,17

%N k associated with A093124.

%o (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

%Y Cf. A093124.

%K nonn

%O 1,10

%A _Jon Perry_, Mar 22 2004

%E More terms from _Michel Marcus_, Dec 28 2022