A077051 Right summatory matrix, T, by antidiagonals.
1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1
Offset: 1
Examples
Northwest corner: 1 1 1 1 1 1 0 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1
Programs
-
Mathematica
(* returns the northwest corner *) nn = 20; Table[PadRight[Drop[CoefficientList[Series[x^n/(1 - x^n), {x, 0, nn}], x],1], nn], {n, 1, nn}] // Grid (* Geoffrey Critzer, Mar 29 2015 *)
Formula
T(n, k)=1 if n|k else T(n, k)=0.
From Boris Putievskiy, May 08 2013: (Start)
As table T(n,k)= floor(n/k)-floor((n-1)/k).
a(n) = floor(i/j) - floor((i-1)/j), where i=n-t*(t+1)/2, j=(t*t+3*t+4)/2-n, t=floor((-1+sqrt(8*n-7))/2). (End)
G.f. for row n: x^n/(1-x^n). - Geoffrey Critzer, Mar 29 2015
Comments