OFFSET
1,1
COMMENTS
This sequence has density 0, since all numbers except a thin fraction have digits 0 through 18 in base 100. In particular, there are at most x^0.99782 members up to x for large enough x. (This can be improved.) - Charles R Greathouse IV, Jan 30 2014
Where does this first differ from A038687? - R. J. Mathar, Feb 03 2014
Is this a shifted version of A031954? - R. J. Mathar, Feb 03 2014
PROG
(PARI) is(n)=my(d=digits(n), S=Set(d), v=List()); for(i=2, #d, listput(v, 10*d[i-1]+d[i])); S=setunion(S, Set(v)); for(i=2, #d, if(!setsearch(S, d[i-1]+d[i]), return(1))); 0 \\ Charles R Greathouse IV, Mar 10 2021
(Python)
def ok(n):
s = str(n)
return not all(str(sum(map(int, s[i:i+2]))) in s for i in range(len(s)-1))
print(list(filter(ok, range(120)))) # Michael S. Branicky, Jun 11 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini, Jan 30 2014
EXTENSIONS
Missing a(82) added by Charles R Greathouse IV, Mar 10 2021
STATUS
approved