login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

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.

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: A232611 A238445 A328704 * A104089 A239995 A319924

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 12 12:30 EST 2019. Contains 329958 sequences. (Running on oeis4.)