login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112568 Secondary diagonal of square table A112564 of generalized Flavius Josephus sieves. 6

%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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 09:49 EDT 2024. Contains 371967 sequences. (Running on oeis4.)