%I #4 Mar 31 2012 14:39:53
%S 0,0,0,1,-1,1,-1,0,1,-1,1,0,-1,0,0,0,-1,1,0,-1,1,-1,0,3,0,-1,1,-1,0,3,
%T -1,1,-1,3,-1,0,0,-1,0,0,-1,3,-1,1,-1,0,0,0,-1,0,1,-1,3,0,0,0,-1,1,0,
%U -1,0,3,0,-3,0,3,-1,1,-3,0,0
%N Peak-trough transform of the prime-gap sequence (A001223).
%C The peak-trough transform is defined in A101941
%e a(4)=1 because A101949(4) is greater than one nearest neighbor on both sides, i.e. A101949(3) and A101949(5), but no more than one.
%Y Cf. A001223, A101941.
%K sign
%O 1,24
%A _Neil Fernandez_, Dec 22 2004