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.

A166279 Triangle, read by rows: T(0,0) = 1, T(n,k) = T(n-1,k-1) (mod 2) + T(n-1,k) (mod 2), T(n,k) = 0 if k < 0 or k > n.

This page as a plain text file.
%I A166279 #2 Mar 30 2012 17:28:33
%S A166279 1,1,1,1,2,1,1,1,1,1,1,2,2,2,1,1,1,0,0,1,1,1,2,1,0,1,2,1,1,1,1,1,1,1,
%T A166279 1,1,1,2,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,1,1,1,2,1,0,0,0,0,0,1,2,1,1,1,
%U A166279 1,1,0,0,0,0,1,1,1,1,1,2,2,2,1,0,0,0,1,2,2,2,1
%N A166279 Triangle, read by rows: T(0,0) = 1, T(n,k) = T(n-1,k-1) (mod 2) + T(n-1,k) (mod 2), T(n,k) = 0 if k < 0 or k > n.
%e A166279 Triangle begins:
%e A166279 1,
%e A166279 1,1,
%e A166279 1,2,1,
%e A166279 1,1,1,1,
%e A166279 1,2,2,2,1,
%e A166279 1,1,0,0,1,1,
%e A166279 1,2,1,0,1,2,1,
%e A166279 1,1,1,1,1,1,1,1,
%e A166279 1,2,2,2,2,2,2,2,1,
%e A166279 1,1,0,0,0,0,0,0,1,1,
%e A166279 1,2,1,0,0,0,0,0,1,2,1,
%e A166279 1,1,1,1,0,0,0,0,1,1,1,1,
%e A166279 1,2,2,2,1,0,0,0,1,2,2,2,1,
%e A166279 1,1,0,0,1,1,0,0,1,1,0,0,1,1,
%e A166279 1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,
%e A166279 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%e A166279 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,
%e A166279 1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
%o A166279 (PARI) p = 2; s = 13; T=matrix(s,s); T[1,1]=1; for(n=2,s,T[n,1]=1;for(k=2,n,T[n,k]=T[n-1,k-1]%p+T[n-1,k]%p)); for(n=1,s,for(k=1,n,print1(T[n,k],", ")))
%Y A166279 A007318 (Pascal's triangle), A047999 (Sierpinski's triangle, Pascal's triangle mod 2).
%K A166279 easy,nonn,tabl
%O A166279 0,5
%A A166279 _Gerald McGarvey_, Oct 10 2009