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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A134336 Nonnegative integers n containing each digit between n's smallest and largest decimal digits. 7
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 21, 22, 23, 32, 33, 34, 43, 44, 45, 54, 55, 56, 65, 66, 67, 76, 77, 78, 87, 88, 89, 98, 99, 100, 101, 102, 110, 111, 112, 120, 121, 122, 123, 132, 201, 210, 211, 212, 213, 221, 222, 223, 231, 232, 233, 234, 243, 312, 321, 322, 323 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

A032981 is a subsequence; the term 102 is the first positive integer not also in A032981. A171102 (pandigital numbers) and A033075 are subsequences. Union of A010785 (repdigits) and A108965.

a(n) = A178403(n) for n < 48. - Reinhard Zumkeller, May 27 2010

Equivalently, numbers with the property that the set of its decimal digits is a set of consecutive numbers. - Tanya Khovanova and Charles R Greathouse IV, Jul 31 2012

LINKS

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

FORMULA

a(n) ~ n. - Charles R Greathouse IV, Sep 09 2011

PROG

(PARI) is(n)=my(v=vecsort(eval(Vec(Str(n))), , 8)); for(i=2, #v, if(v[i]!=1+v[i-1], return(0))); 1 \\ Tanya Khovanova and Charles R Greathouse IV, Jul 31 2012

(PARI) is_A134336(n)={vecmax(n=Set(digits(n)))-vecmin(n)==#n-1} \\ M. F. Hasler, Dec 24 2014

CROSSREFS

Cf. A032981, A050278, A033075 (a subsequence), A010785, A108965.

Sequence in context: A130577 A252490 A178403 * A131207 A032981 A136332

Adjacent sequences:  A134333 A134334 A134335 * A134337 A134338 A134339

KEYWORD

base,easy,nonn

AUTHOR

Rick L. Shepherd, Oct 21 2007

EXTENSIONS

Edited by N. J. A. Sloane, Aug 06 2012

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 December 1 14:10 EST 2021. Contains 349430 sequences. (Running on oeis4.)