|
|
A129562
|
|
Slowest increasing sequence that starts with 1 and has property that adding two consecutive terms gives a number which does not share a digit with either of the two terms.
|
|
1
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 14, 15, 17, 18, 19, 21, 22, 23, 25, 35, 36, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 51, 149, 151, 152, 154, 155, 165, 167, 168, 169, 171, 172, 176, 177, 178, 181, 182, 184, 185, 188, 189, 211, 219, 221, 222, 223, 225, 235, 236, 238
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Terms shown above computed by Lapinot.
|
|
LINKS
|
|
|
PROG
|
(Sage)
@cached_function
if n == 1: return 1
nocommon = lambda x, y: not set(x.digits()).intersection(y.digits())
return next(k for k in IntegerRange(last+1, infinity) if nocommon(k, last+k) and nocommon(last, last+k))
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|