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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A134970 Canyon numbers. Numbers with exactly one locally minimal digit and with exactly two locally maximal digits which are the same digit and non-adjacent. 10
101, 202, 212, 303, 313, 323, 404, 414, 424, 434, 505, 515, 525, 535, 545, 606, 616, 626, 636, 646, 656, 707, 717, 727, 737, 747, 757, 767, 808, 818, 828, 838, 848, 858, 868, 878, 909, 919, 929, 939, 949, 959, 969, 979, 989, 2012, 2102, 3013, 3023 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A digit of a number is a local minimum if it is less than (or equal to) its neighboring digit(s). It is a local maximum likewise if it is greater than (or equal to) its neighboring digit(s). For example, 55432123 has three local maxima (the two 5s and the end 3) and one local minimum (the 1).

Because they are nonadjacent, the maxima occur at the end (and the minimum somewhere between), and the sequence of digits must be decreasing up to the minimum, then increasing. This may be taken as part of the definition (which entails non-adjacency of the maxima).

The structure of digits represent a canyon (a deep valley between cliffs). The first digit is equal to last digit. The first group of digits are in decreasing order. The second group of digits are in increasing order. The digits have a unique smallest digit which represents the bottom of the canyon.

This sequence is finite - it has 116505 elements. The largest and final element of the sequence is a(116505) = 9876543210123456789.

9752369 is a canyon number because the unique minimum digit is the 2, and the maximum digit is 9 (at the beginning and end).

LINKS

Kellen Myers, Table of n, a(n) for n = 1..116505

EXAMPLE

Illustration of 4104 as a canyon number:

4 . . 4

. . . .

. . . .

. 1 . .

. . 0 .

CROSSREFS

Cf. A134971.

Sequence in context: A158128 A162670 A252664 * A081365 A138131 A069858

Adjacent sequences:  A134967 A134968 A134969 * A134971 A134972 A134973

KEYWORD

fini,nonn,base,full

AUTHOR

Omar E. Pol, Nov 25 2007, Nov 26 2007

EXTENSIONS

Edited by Kellen Myers, Jan 18 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 24 05:21 EDT 2019. Contains 325290 sequences. (Running on oeis4.)