1,24

The peak-trough transform is defined in A101941

Table of n, a(n) for n=1..71.

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.

Cf. A001223, A101941.

Sequence in context: A119624 A213727 A119612 * A124796 A065714 A110700

Adjacent sequences: A101946 A101947 A101948 * A101950 A101951 A101952

sign

Neil Fernandez, Dec 22 2004

approved