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
1, 3, 13, 61, 241, 1051, 5041, 20161, 91081, 392041, 1681681, 6530173, 27168961, 115590931 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..14.

Index entries for sequences related to the Josephus Problem

PROG

(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)}

CROSSREFS

Cf. A112564, A112565.

Sequence in context: A328704 A341077 A357749 * A104089 A334150 A239995

Adjacent sequences: A112565 A112566 A112567 * A112569 A112570 A112571

KEYWORD

more,nonn

AUTHOR

Paul D. Hanna, Oct 14 2005

STATUS

approved

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 January 29 07:25 EST 2023. Contains 359915 sequences. (Running on oeis4.)