OFFSET
1,1
EXAMPLE
24 is a term because A374941(24) = 28 > 24.
PROG
(Python)
from sympy import divisors, isprime
from functools import cache
@cache
def f(n): return sum(di if isprime(di) else f(di) for di in divisors(n)[1:-1])
def ok(n): return f(n) > n
print([k for k in range(1, 801) if ok(k)]) # Michael S. Branicky, Sep 23 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Tanmaya Mohanty, Sep 22 2024
STATUS
approved