login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101941 Peak-trough transform of the omega sequence (A001221). 1
0, 0, 0, 0, 0, 3, 0, 0, 0, 1, -1, 1, -1, 0, 0, 0, 0, 1, -1, 0, 0, 0, -1, 1, -1, 1, -1, 1, -1, 3, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, -1, 3, -1, 0, 0, 0, -1, 1, -1, 0, 0, 0, -3, 0, 0, 0, 0, 0, -1, 3, -1, 0, 0, -1, 0, 3, -1, 0, 0, 3, -1, 1, -1 (list; graph; refs; listen; history; internal format)
OFFSET

1,6

COMMENTS

I define the peak-trough transform b(n) of sequence a(n) as follows. If a(n) is greater than both of its immediate neighbors, b(n) is defined as the largest k such that a(n) is greater than its k nearest neighbors both before and after it in the sequence. (a(n) is said to be a k-peak of the sequence). If a(n) is smaller than both of its immediate neighbors, b(n) is defined as -k, where k is the largest k such that a(n) is smaller than its k nearest neighbors both before and after it in the sequence. (a(n) is said to be a k-trough of the sequence). Otherwise, a(n) is 0. (Note difference between a k-peak and a k-apex as defined by Joseph L. Pe in A076759).

CROSSREFS

Cf. A001221, A101932.

Sequence in context: A069531 A035677 A143276 * A089313 A052998 A114516

Adjacent sequences:  A101938 A101939 A101940 * A101942 A101943 A101944

KEYWORD

sign

AUTHOR

N. Fernandez (primeness(AT)borve.org), Dec 22 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 08:12 EST 2012. Contains 205451 sequences.