|
|
A236401
|
|
Kurepa determinant K_n.
|
|
1
|
|
|
15, -47, 197, -1029, 6439, -46927, 390249, -3645737, 37792331, -430400211, 5341017373, -71724018781, 1036207207363983, -16024176975479, 264083895859409, -4620276321889617, 85520275455047059, -1669635965205539227, 34287733935303686661
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
7,1
|
|
COMMENTS
|
This is the value of a certain determinant of order n-4 (see Metrovic 2013 for definition).
|
|
LINKS
|
|
|
FORMULA
|
Conjecture: a(n) ~ -(-1)^n * n! * exp(-1) / n^4. - Vaclav Kotesovec, Nov 30 2017
|
|
MAPLE
|
local M, r, c ;
M := Matrix(n-4, n-4) ;
for r from 1 to n-4 do
for c from 1 to n-4 do
if r = 1 then
if c < n-4 then
M[r, c] := 1 ;
else
M[r, c] := 3 ;
end if;
elif r = n-4 then
if c = n-4 then
M[r, c] := -4 ;
elif c = n-5 then
M[r, c] := 1 ;
else
M[r, c] := 0 ;
end if;
elif c = n-4 then
M[r, c] := 2 ;
elif r > c+2 then
M[r, c] := 0 ;
elif r = c+2 then
M[r, c] := 1 ;
elif r = c+1 then
M[r, c] := r+1 ;
elif c = n-4 then
M[r, c] := 2 ;
else
M[r, c] := 1 ;
end if
end do:
end do:
LinearAlgebra[Determinant](M) ;
end proc:
|
|
MATHEMATICA
|
r == 1, If[c < n - 4, 1, 3],
r == n - 4, Which[
c == n - 4, -4,
c == n - 5, 1,
True, 0],
c == n - 4, 2,
r > c + 2, 0,
r == c + 2, 1,
r == c + 1, r + 1,
c == n - 4, 2,
True, 1],
{r, 1, n - 4}, {c, 1, n - 4}]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|