|
| |
|
|
A164832
|
|
Least nonnegative integer k such that the decimal representations of k and k+1 have n distinct digits in common.
|
|
0
| |
|
|
0, 10, 100, 1020, 10230, 102340, 1023450, 10234560, 102345670, 1023456780, 10234567889
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| 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 * A144822 A199763 A097178
Adjacent sequences: A164829 A164830 A164831 * A164833 A164834 A164835
|
|
|
KEYWORD
| base,easy,fini,full,nonn
|
|
|
AUTHOR
| Rick L. Shepherd (rshepherd2(AT)hotmail.com), Aug 27 2009
|
| |
|
|