OFFSET
1,1
LINKS
Scott R. Shannon, Divisor product of the first 232 terms. These are all the numbers up to 50000000.
EXAMPLE
64 is a term as 64 = 16 * 4 and "16" + "4" = "164" contains "64".
65114 is a term as 65114 = 4651 * 14 and "4651" + "14" = "465114" contains "65114".
See the attached text file for other examples.
PROG
(Python)
from sympy import divisors
def ok(n):
s, divs = str(n), divisors(n)[1:-1]
return any(s in str(d)+str(n//d) for d in divs)
print([k for k in range(1, 10**5) if ok(k)]) # Michael S. Branicky, Jul 27 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Jul 17 2022
STATUS
approved