cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A376445 Numbers k such that A374941(k) > k.

This page as a plain text file.
%I A376445 #15 Oct 19 2024 22:14:21
%S A376445 24,36,48,60,72,84,90,96,108,120,132,144,160,168,180,192,210,216,240,
%T A376445 252,264,270,280,288,300,312,320,336,360,384,396,408,420,432,456,468,
%U A376445 480,504,528,540,552,560,576,600,612,624,630,640,648,660,672,684,696,720
%N A376445 Numbers k such that A374941(k) > k.
%e A376445 24 is a term because A374941(24) = 28 > 24.
%o A376445 (Python)
%o A376445 from sympy import divisors, isprime
%o A376445 from functools import cache
%o A376445 @cache
%o A376445 def f(n): return sum(di if isprime(di) else f(di) for di in divisors(n)[1:-1])
%o A376445 def ok(n): return f(n) > n
%o A376445 print([k for k in range(1, 801) if ok(k)]) # _Michael S. Branicky_, Sep 23 2024
%Y A376445 Cf. A371075, A374941.
%K A376445 nonn
%O A376445 1,1
%A A376445 _Tanmaya Mohanty_, Sep 22 2024