%I #8 Aug 18 2015 00:06:48
%S 1,-1,2,-1,-1,3,-1,-1,-1,4,-1,-1,-1,-1,5,-1,-1,-1,-1,-1,6,-1,-1,-1,-1,
%T -1,-1,7,-1,-1,-1,-1,-1,-1,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,9,-1,-1,-1,-1,
%U -1,-1,-1,-1,-1,10,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,11,-1,-1,-1,-1,-1,-1
%N A000012 as an infinite lower triangular matrix with all 1's; A127899 = a simple transform; then A000012 * A127899. Given A051340, change all 1's to -1. Triangle read by rows, (n-1) -1's followed by "n".
%C For the inverse of A127949 see A126615, a harmonic triangle.
%C This is one way to define an inverse to A000217. - _R. J. Mathar_, Apr 30 2010
%e First few rows of the triangle are:
%e 1;
%e -1, 2;
%e -1, -1, 3;
%e -1, -1, -1, 4;
%e ...
%p A127949 := proc(n) if issqr(1+8*n) then (sqrt(1+8*n)-1)/2 ; else -1 ; end if; end proc: seq(A127949(n),n=1..120) ; # _R. J. Mathar_, Apr 30 2010
%Y Cf. A000012, A127899, A051340, A126615.
%K tabl,sign,easy
%O 1,3
%A _Gary W. Adamson_, Feb 09 2007
%E More terms from _R. J. Mathar_, Apr 30 2010