OFFSET
1,1
LINKS
Wikipedia, Table of divisors
EXAMPLE
72 is in the sequence since 72 shares a digit with the sum of its proper divisors 123. Both numbers share the digit "2".
PROG
(Python)
from itertools import count, islice
from sympy import divisor_sigma
def A358068_gen(startvalue=2): # generator of terms >= startvalue
for n in count(max(startvalue, 2)):
s = set(str(divisor_sigma(n)-n))
if any(d in s for d in set(str(n))):
yield n
(PARI) isok(n) = #setintersect(Set(digits(sigma(n)-n)), Set(digits(n))); \\ Michel Marcus, Oct 30 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Wesley Ivan Hurt, Oct 29 2022
STATUS
approved