Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112565
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112565 Main diagonal of square table A112564 of generalized Flavius Josephus sieves. +0
9
1, 2, 7, 28, 125, 546, 2527, 11096, 43633, 186130, 809831, 3423432, 14022373, 58574894, 250708291, 1038612976, 4353755777, 18333324162, 74663736859, 311293807040, 1286700247561, 4917768055222, 20458840039199, 83985256000824 (list; graph; listen)
OFFSET

0,2

COMMENT

Appears to be a self-convolution of an integer sequence (A112567).

FORMULA

a(n) = 1 + n*A112566(n) for n>=0.

PROGRAM

(PARI) {a(n)=local(A=n, B=0, C=0); if(n==0, 1, until(A==B, C=C+1; if(C%n==0, C=C+1); B=A; A=floor(A*(C+1)/C)); 1+A)}

Contribution from David Wasserman (dwasserm(AT)earthlink.net), Jun 25 2009: (Start)

(PARI) A002491(n) = local(a, b); a = n; b = n - 1; while (b > 1, a = b*ceil(a/b); b--); a;

T(n, k) = local(A = k, C = 1, q, d, x); if (n*k == 0, return(1)); if (n == 1, return(A002491(k + 1))); while (q = A\C, d = A%C; x = d\q + 1; A += x*(n - 1)*(A\C); C += x*n); 1 + A; (End)

CROSSREFS

Cf. A112564, A112566, A112567, A112568.

Sequence in context: A060379 A002931 A088702 this_sequence A118926 A127084 A052319

Adjacent sequences: A112562 A112563 A112564 this_sequence A112566 A112567 A112568

KEYWORD

nonn

AUTHOR

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

EXTENSIONS

More terms from David Wasserman (dwasserm(AT)earthlink.net), Jun 25 2009

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 December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research