Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112566
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112566 a(n) = (A112565(n) - 1)/n for n>=1. +0
7
1, 3, 9, 31, 109, 421, 1585, 5454, 20681, 80983, 311221, 1168531, 4505761, 17907735, 69240865 (list; graph; listen)
OFFSET

1,2

COMMENT

A112565 is the main diagonal of square table A112564 of generalized Flavius Josephus sieves.

PROGRAM

(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.

Adjacent sequences: A112563 A112564 A112565 this_sequence A112567 A112568 A112569

Sequence in context: A130620 A127927 A123222 this_sequence A128082 A047012 A120305

KEYWORD

more,nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Oct 14 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 11 13:47 EDT 2008. Contains 144830 sequences.


AT&T Labs Research