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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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

License Agreements, Terms of Use, Privacy Policy .

Last modified December 9 21:41 EST 2016. Contains 278987 sequences.