login
Table of triples T(k,m) = k (m=1), 2-k (m=2) and 1-k (m=3).
2

%I #27 Sep 26 2024 04:12:57

%S 0,2,1,1,1,0,2,0,-1,3,-1,-2,4,-2,-3,5,-3,-4,6,-4,-5,7,-5,-6,8,-6,-7,9,

%T -7,-8,10,-8,-9,11,-9,-10,12,-10,-11,13,-11,-12,14,-12,-13,15,-13,-14,

%U 16,-14,-15,17,-15,-16,18,-16,-17,19,-17,-18,20,-18,-19,21,-19,-20,22,-20,-21,23

%N Table of triples T(k,m) = k (m=1), 2-k (m=2) and 1-k (m=3).

%H Michael De Vlieger, <a href="/A135997/b135997.txt">Table of n, a(n) for n = 0..9002</a> (rows 1 <= k <= 3000)

%e The table has 3 columns and starts:

%e 0, 2, 1;

%e 1, 1, 0;

%e 2, 0,-1;

%e 3,-1,-2;

%t Array[{#, 2 - #, 1 - #} &, 24, 0] // Flatten (* _Michael De Vlieger_, Oct 01 2017 *)

%Y Cf. A022959 (row sums).

%K sign,tabf,less,easy

%O 0,2

%A _Paul Curtz_, Mar 03 2008

%E Edited and extended by _R. J. Mathar_, Jul 22 2008