The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A228624 Determinant of the n X n matrix with (i,j)-entry equal to 1 or 0 according as i + j is a square or not. 2
0, 0, -1, 0, 1, 0, 0, 1, 1, 1, 0, -1, 1, 0, 0, -1, 2, 3, -3, -1, 0, 1, -1, -2, -5, 13, -7, -7, -6, 1, 8, -1, -17, 25, 13, -12, 11, 12, -11, -12, -4, 1, 1, -66, -60, -26, -13, 40, -67, -1, 82, 81, -49, -32, 68, 103, -222, 503, -39, -134 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,17
COMMENTS
Conjecture: a(n) is nonzero for any n > 21.
Zhi-Wei Sun also made the following similar conjecture:
Let A(n) be the n X n determinant with (i,j)-entry equal to 1 or 0 according as i + j is a cube or not. Then A(n) is nonzero for any n > 176.
LINKS
EXAMPLE
a(1) = 0 since 1 + 1 = 2 is not a square.
MATHEMATICA
SQ[n_]:=IntegerQ[Sqrt[n]]
a[n_]:=Det[Table[If[SQ[i+j]==True, 1, 0], {i, 1, n}, {j, 1, n}]]
Table[a[n], {n, 1, 30}]
PROG
(PARI) a(n)=matdet(matrix(n, n, i, j, issquare(i+j))) \\ Ralf Stephan, Sep 17 2013
CROSSREFS
Sequence in context: A085355 A103120 A021433 * A124798 A318741 A171872
KEYWORD
sign
AUTHOR
Zhi-Wei Sun, Aug 28 2013
STATUS
approved

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 May 28 12:54 EDT 2024. Contains 372913 sequences. (Running on oeis4.)