%I #9 Jun 23 2020 10:54:08
%S 1,3,13,61,241,1051,5041,20161,91081,392041,1681681,6530173,27168961,
%T 115590931
%N Secondary diagonal of square table A112564 of generalized Flavius Josephus sieves.
%H <a href="/index/J#Josephus">Index entries for sequences related to the Josephus Problem</a>
%o (PARI) {a(n)=local(A=n,B=0,k=0);if(n==0,1, until(A==B,k=k+1;if(k%(n+1)==0,k=k+1);B=A;A=floor(A*(k+1)/k));1+A)}
%Y Cf. A112564, A112565.
%K more,nonn
%O 1,2
%A _Paul D. Hanna_, Oct 14 2005