|
Search: id:A080692
|
|
|
| A080692 |
|
a(n)=(-1)^(n+1)*det(M(n)) where M(n) is the n X n matrix M(i,j)=min(abs(i-j),i). |
|
+0 1
|
|
| 0, 1, 3, 8, 18, 40, 88, 192, 400, 832, 1728, 3584, 7424, 15360, 31744, 65536, 133120, 270336, 548864, 1114112, 2260992, 4587520, 9306112, 18874368, 38273024, 77594624, 157286400, 318767104, 645922816, 1308622848, 2650800128
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
A001787(n-1) is the determinant of the n X n matrix M(i,j)=min(abs(i-j),i+j)
|
|
FORMULA
|
a(n)=2*a(n-1)-2^floor(n-log(n)/log(2)-1)=2*a(n-1)-A054243(n)
|
|
EXAMPLE
|
M(5) is [0 1 1 1 1] [1 0 1 2 2] [2 1 0 1 2] [3 2 1 0 1] [4 3 2 1 0].
|
|
PROGRAM
|
(PARI) a(n)=(-1)^(n+1)*matdet(matrix(n, n, i, j, min(abs(i-j), i))
|
|
CROSSREFS
|
Cf. A054243, A001787.
Sequence in context: A135094 A026657 A036384 this_sequence A117080 A066425 A026679
Adjacent sequences: A080689 A080690 A080691 this_sequence A080693 A080694 A080695
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Benoit Cloitre (benoit7848c(AT)orange.fr), Mar 03 2003
|
|
|
Search completed in 0.002 seconds
|