login
A101949
Peak-trough transform of the prime-gap sequence (A001223).
1
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, -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, -1, 0, 3, 0, -3, 0, 3, -1, 1, -3, 0, 0
OFFSET
1,24
COMMENTS
The peak-trough transform is defined in A101941
EXAMPLE
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.
CROSSREFS
Sequence in context: A213727 A367452 A119612 * A124796 A343858 A065714
KEYWORD
sign
AUTHOR
Neil Fernandez, Dec 22 2004
STATUS
approved