cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A112568 Secondary diagonal of square table A112564 of generalized Flavius Josephus sieves.

This page as a plain text file.
%I A112568 #9 Jun 23 2020 10:54:08
%S A112568 1,3,13,61,241,1051,5041,20161,91081,392041,1681681,6530173,27168961,
%T A112568 115590931
%N A112568 Secondary diagonal of square table A112564 of generalized Flavius Josephus sieves.
%H A112568 <a href="/index/J#Josephus">Index entries for sequences related to the Josephus Problem</a>
%o A112568 (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 A112568 Cf. A112564, A112565.
%K A112568 more,nonn
%O A112568 1,2
%A A112568 _Paul D. Hanna_, Oct 14 2005