OFFSET
1,1
COMMENTS
EXAMPLE
480 is a term since A162296(480) = 1440 = 3*480.
MATHEMATICA
q[n_] := Module[{f = FactorInteger[n], p, e}, p = f[[;; , 1]]; e = f[[;; , 2]]; Times @@ ((p^(e + 1) - 1)/(p - 1)) - Times @@ (p + 1) == 3*n]; Select[Range[2, 10^7], q]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Oct 01 2022
STATUS
approved