OFFSET
1,1
COMMENTS
Conjecture: these are the numbers missing from A382935.
Theorem: This sequence is the complement of A382935. - Quinn Savitt, May 08 2025
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Quinn Savitt, Proof that A383500 is the Complement of A382935
MATHEMATICA
A383500Q[k_] := MemberQ[#, 9] || MemberQ[Partition[#, 2, 1], {i_, j_?OddQ} /; i <= j] & [IntegerDigits[k]];
Select[Range[200], A383500Q]
PROG
(Python)
def ok(n):
s = str(n)
return "9" in s or any(d in "13579" and s[i-1]<=d for i, d in enumerate(s) if i > 0)
print([k for k in range(134) if ok(k)]) # Michael S. Branicky, Apr 29 2025
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paolo Xausa, Apr 29 2025
STATUS
approved
