OFFSET
1,1
COMMENTS
Given positive integer x, let y be the greatest integer < x that is not in the sequence (and thus is a member of A129459). Then x is in the sequence iff neither x nor y share any decimal digit with x * y.
For each k >= 1, at least one of (10^k - 1)/3 = 3...33 and (10^k + 2)/3 = 3...34 is in the sequence, as their product is (10^(2*k) + 10^k - 2)/9 = 1..12...2. Similarly, at least one of (2*10^k - 2)/3 = 6...66 and (2*10^k + 1)/3 = 6...67 is in the sequence. In particular, the sequence is infinite.
LINKS
Robert Israel, Table of n, a(n) for n = 1..5000
EXAMPLE
a(6) = 16 is a term because 15 is the greatest integer < 16 that is not in the sequence, and neither 16 nor 15 shares a digit with 16 * 15 = 240.
MAPLE
f:= proc(n) local Ln, Lk, k;
Ln:= convert(convert(n, base, 10), set);
for k from n+1 do
Lk:= convert(convert(k, base, 10), set) union Ln;
if convert(convert(n*k, base, 10), set) intersect Lk <> {} then return k fi
od
end proc:
R:= NULL: x:= 0: count:= 0:
while count < 100 do
y:= f(x);
count:= count + y - x - 1;
R:= R, $(x+1)..(y-1);
x:= y
od:
R;
CROSSREFS
KEYWORD
AUTHOR
Robert Israel, Feb 06 2025
STATUS
approved