OFFSET
1,2
COMMENTS
Terms shown above computed by Lapinot.
LINKS
Andrew Woods, Table of n, a(n) for n = 1..10000
PROG
(Sage)
@cached_function
def A129562(n):
if n == 1: return 1
nocommon = lambda x, y: not set(x.digits()).intersection(y.digits())
last = A129562(n-1)
return next(k for k in IntegerRange(last+1, infinity) if nocommon(k, last+k) and nocommon(last, last+k))
# D. S. McNeil, Aug 31 2011
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, May 30 2007
STATUS
approved