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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

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: A106884 A232611 A238445 * A104089 A239995 A108143

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

Content is available under The OEIS End-User License Agreement .

Last modified August 29 03:59 EDT 2014. Contains 246185 sequences.