Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A164832
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A164832 Least nonnegative integer k such that the decimal representations of k and k+1 have n distinct digits in common. +0
1
0, 10, 100, 1020, 10230, 102340, 1023450, 10234560, 102345670, 1023456780, 10234567889 (list; graph; listen)
OFFSET

0,2

COMMENT

Finding a(10), the final term, could be a simple but instructive puzzle.

a(1) through a(9) is a subsequence of A121030. a(0) through a(9) is a subsequence of A107411.

FORMULA

For 1 <= n <= 10, a(n) is the least k such that A076489(k) = n. (This would be true for n = 0 also if A076489 considered nonnegative integers, having another initial 0 term and offset 0.).

EXAMPLE

a(10) = 10234567889 because 10234567889 and 10234567890 have all 10 decimal digits in common and this property does not hold for any smaller positive integer.

CROSSREFS

Cf. A076489, A121030, A107411.

Sequence in context: A118256 A102397 A132347 this_sequence A144822 A097178 A135651

Adjacent sequences: A164829 A164830 A164831 this_sequence A164833 A164834 A164835

KEYWORD

base,easy,fini,full,nonn

AUTHOR

Rick L. Shepherd (rshepherd2(AT)hotmail.com), Aug 27 2009

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 December 3 22:15 EST 2009. Contains 170310 sequences.


AT&T Labs Research