OFFSET
1,2
COMMENTS
Conjecture: these are the numbers missing from A342045.
By way of disjointness and completeness, it is proved that this sequence is the complement of A342045. - Quinn Savitt, Apr 29 2025
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Quinn Savitt, Proof that A383249 is the complement of A342045
MATHEMATICA
A383249Q[k_] := Last[#] == 1 || MemberQ[Partition[#, 2, 1], {i_?OddQ, j_} /; j >= i] & [IntegerDigits[k]];
Select[Range[200], A383249Q]
PROG
(Python)
def ok(n):
if n%10 == 1: return True
s = str(n)
return any(d in "13579" and s[i]>=d for i, d in enumerate(s, 1) if i < len(s))
print([k for k in range(136) if ok(k)]) # Michael S. Branicky, Apr 28 2025
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paolo Xausa, Apr 26 2025
STATUS
approved
