cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A228616 Determinant of the n X n matrix with (i,j)-entry equal to 1 or 0 according as 2*(i + j) - 1 is prime or not.

This page as a plain text file.
%I A228616 #5 Aug 28 2013 03:02:33
%S A228616 1,0,-1,-2,0,0,0,-2,3,11,24,-60,-16,31,-217,-1148,-164,132,395,697,
%T A228616 -191,-76,125664,-213885,-171654,114902,353497,-388325,-1738118,
%U A228616 -222898,248633,382075,-1637075,21100,4049068,-189147708,-279083383,472023163,-19063401,-6718578823
%N A228616 Determinant of the n X n matrix with (i,j)-entry equal to 1 or 0 according as 2*(i + j) - 1 is prime or not.
%C A228616 Conjecture: a(n) is nonzero for any n > 7.
%C A228616 Clearly this conjecture implies that there are infinitely many primes.
%H A228616 Zhi-Wei Sun, <a href="/A228616/b228616.txt">Table of n, a(n) for n = 1..250</a>
%e A228616  a(1) = 1 since 2*(1 + 1) - 1 = 3 is a prime.
%t A228616 a[n_]:=a[n]=Det[Table[If[PrimeQ[2(i+j)-1],1,0],{i,1,n},{j,1,n}]]
%t A228616 Table[a[n],{n,1,40}]
%Y A228616 Cf. A000040, A069191, A228615, A228591.
%K A228616 sign
%O A228616 1,4
%A A228616 _Zhi-Wei Sun_, Aug 27 2013