login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239016 Numbers not larger than any rotation of their digits. 7
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 28, 29, 33, 34, 35, 36, 37, 38, 39, 44, 45, 46, 47, 48, 49, 55, 56, 57, 58, 59, 66, 67, 68, 69, 77, 78, 79, 88, 89, 99, 111, 112, 113, 114, 115, 116, 117, 118, 119, 122, 123, 124, 125, 126, 127, 128, 129, 132 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

The numbers with nonincreasing digits, A009994, form a subsequence which first differs at a(73)=132 (not in A009994) from this one.

This sequence is a subsequence of A072544: numbers whose smallest decimal digit is also the initial digit. A072544(65)=121 is the first such number not in this sequence.

This criterion involving "rotation" is part of the characterization of Lyndon words, see e.g. A102659, A102660, A210584, A210585. All of these are subsequences of this sequence. For example, A102659 = A213969 intersect A239016.

LINKS

Table of n, a(n) for n=1..73.

EXAMPLE

The number 10 is excluded from this sequence because its "rotation" 01 is smaller that the number itself.

The same is the case for any number whose first digit is not the smallest one: rotating a smaller digit to the front will always yield a smaller number, independently of the other digits. For this reason, all terms must be in A072544.

a(73)=132 is in the sequence because the nontrivial rotations of its digits are 321 and 213, both larger than 132.

PROG

(PARI) is_A239016(n)=vecsort(d=digits(n))==d||!for(i=1, #d-1, n>[1, 10^(#d-i)]*divrem(n, 10^i)&&return)

CROSSREFS

Sequence in context: A032857 A072544 A009994 * A102827 A190221 A239215

Adjacent sequences:  A239013 A239014 A239015 * A239017 A239018 A239019

KEYWORD

nonn,base

AUTHOR

M. F. Hasler, Mar 08 2014

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 September 20 10:24 EDT 2020. Contains 337264 sequences. (Running on oeis4.)