cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A101949 Peak-trough transform of the prime-gap sequence (A001223).

Original entry on oeis.org

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

Views

Author

Neil Fernandez, Dec 22 2004

Keywords

Comments

The peak-trough transform is defined in A101941

Examples

			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