Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101941
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101941 Peak-trough transform of the omega sequence (A001221). +0
2
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; listen)
OFFSET

1,6

COMMENT

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 this_sequence A089313 A052998 A114516

Adjacent sequences: A101938 A101939 A101940 this_sequence A101942 A101943 A101944

KEYWORD

sign

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research