Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #7 Jun 23 2020 19:05:13
%S 1,5,18,44,90,167,257,397,596,782,1079,1404,1793,2226,2813,3337,4110,
%T 4848,5632,6671,7773,8861,10160,11792,13046,14846,16653,18494,20678,
%U 22985,25064,27828,30431,33181,36384,39617,42795,46650,50873,54438
%N Row sums of triangle A101224, which is related to the Flavius sieve (A000960).
%H <a href="/index/J#Josephus">Index entries for sequences related to the Josephus Problem</a>
%o (PARI) {a(n)=local(A);sum(k=1,n,if(k==1,A=n^2-n+1,A=(n-k+1)*floor((A-1)/(n-k+1))))}
%Y Cf. A101224.
%K nonn
%O 1,2
%A _Paul D. Hanna_, Dec 01 2004