OFFSET
1,2
COMMENTS
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
EXAMPLE
45 = 3^2*5 is a term since its product of distinct prime factors 3 * 5 = 15 is greater than its sum of prime factors with multiplicity 3 + 3 + 5 = 11.
48 = 2^4*3 is not a term since its product of distinct prime factors 2 * 3 = 6 is less than its sum of prime factors with multiplicity 2 + 2 + 2 + 2 + 3 = 11.
MATHEMATICA
q[n_] := Module[{f = FactorInteger[n]}, Times @@ f[[;; , 1]] >= Plus @@ (f[[;; , 1]]*f[[;; , 2]])]; q[1] = True; Select[Range[100], q] (* Amiram Eldar, Feb 08 2023 *)
PROG
(PARI) isok(n)={my(f=factor(n)); vecprod(f[, 1]) >= sum(i=1, #f~, f[i, 1]*f[i, 2])} \\ Andrew Howroyd, Nov 20 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Johan Lindgren, Feb 08 2023
STATUS
approved
