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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A112566 a(n) = (A112565(n) - 1)/n for n>=1. 6
 1, 3, 9, 31, 109, 421, 1585, 5454, 20681, 80983, 311221, 1168531, 4505761, 17907735, 69240865, 272109736, 1078430833, 4147985381, 16383884581, 64335012378, 234179431201, 929947274509, 3651532869601, 14453209093051, 56596999501225 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS A112565 is the main diagonal of square table A112564 of generalized Flavius Josephus sieves. LINKS PROG (PARI) {a(n)=local(A=n, B=0, k=0); if(n<1, 0, until(A==B, k=k+1; if(k%n==0, k=k+1); B=A; A=floor(A*(k+1)/k)); A/n)} CROSSREFS Cf. A112564, A112565, A112567. Sequence in context: A123222 A148968 A148969 * A128082 A148970 A151459 Adjacent sequences: A112563 A112564 A112565 * A112567 A112568 A112569 KEYWORD nonn AUTHOR Paul D. Hanna, Oct 14 2005 EXTENSIONS More terms from David Wasserman, Jun 30 2009 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.

Last modified March 20 05:48 EDT 2023. Contains 361359 sequences. (Running on oeis4.)