login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114601 Number of n X n symmetric positive definite matrices with 2's on the main diagonal and -1, 0, or 1 elsewhere. 2

%I #12 Apr 25 2013 03:19:42

%S 1,3,23,393,13089,737595,58969079

%N Number of n X n symmetric positive definite matrices with 2's on the main diagonal and -1, 0, or 1 elsewhere.

%C This gives the number of different values of A + A' where A runs through the matrices counted in A086215.

%o (PARI) { a(n) = M=matrix(n,n,i,j,2*(i==j)); r=0; m=n; b(1); r } { b(k) = if(k>m, r++; return); forvec(x=vector(k-1,i,[-1,1]), for(i=1,k-1, M[k,i]=M[i,k]=x[i]); if( matdet(vecextract(M,2^k-1,2^k-1),1)>0, b(k+1) ) ) }

%Y Cf. A086215, A085657.

%K hard,nonn,more

%O 1,2

%A _Max Alekseyev_, Dec 13 2005, Nov 09 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)