Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Feb 14 2021 15:44:41
%S 1,1,1,2,1,4,1,3,2,3,1,6,1,3,5,5,1,6,1,6,4,3,1,10,3,3,4,8,1,11,1,7,4,
%T 3,5,13,1,3,4,12,1,11,1,7,10,3,1,16,4,8,4,7,1,11,6,14,4,3,1,21,1,3,10,
%U 10,6,13,1,7,4,15,1,23,1,3,9,7,7,12,1,20,8,3,1,23,6,3,4,14,1,24,9,7
%N Row sums of triangle A249223.
%H Rémy Sigrist, <a href="/A341308/b341308.txt">Table of n, a(n) for n = 1..10000</a>
%o (PARI) a(n) = { my (v=0, s=0); for (h=2, oo, if (n<=0, return (v), v+=s+=(-1)^h * ((n-1)%(h-1)==0); n-=h)) } \\ _Rémy Sigrist_, Feb 14 2021
%Y Cf. A237048, A249223, A262045.
%K nonn
%O 1,4
%A _N. J. A. Sloane_, Feb 14 2021