|
|
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;
text;
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.
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
base,easy,fini,full,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|