|
|
A067957
|
|
Number of divisor chains of length n: permutations s_1,s_2,...,s_n of 1,2,...,n such that for all j=1,2,...,n, s_j divides Sum_{i=1..j} s_i.
|
|
8
|
|
|
1, 1, 1, 2, 2, 4, 5, 7, 7, 24, 22, 29, 39, 67, 55, 386, 235, 312, 347, 451, 1319, 5320, 3220, 4489, 20237, 36580, 52875, 197103, 216562, 289478, 567396, 659647, 1111153, 3131774, 2200426, 29523302
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
Apparently this sequence originated in a problem composed by Matthijs Coster in 2002.
Let M = floor(n/2), then the following permutations always work: for n even: M+1, 1, M+2, 2, ..., n-1, M-1, n, M; for n odd: M+1, 1, M+2, 2, ..., M-1, n-1, M, n. - Daniel Asimov, May 04 2004
|
|
LINKS
|
|
|
EXAMPLE
|
Examples of divisor chains of lengths 1 through 9:
1
2 1
3 1 2
4 2 3 1
5 1 2 4 3
6 2 4 3 5 1
7 1 2 5 3 6 4
8 2 5 3 6 4 7 1
8 4 3 5 1 7 2 6 9
The five divisor chains of length 6 are:
4 1 5 2 6 3
4 2 6 3 5 1
5 1 2 4 6 3
5 1 6 4 2 3
6 2 4 3 5 1. - Eugene McDonnell, May 21 2004
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|