OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
EXAMPLE
n = 105 has eight divisors: [1, 3, 5, 7, 15, 21, 35, 105]. When A083254 is applied to them, we obtain [1, 1, 3, 5, 1, 3, 13, -9], and seven of these numbers are positive, thus a(105) = 7.
MAPLE
A318874 := n -> nops(select(d -> (2*numtheory:-phi(d)) > d, divisors(n))):
seq(A318874(n), n=1..99); # Peter Luschny, Sep 05 2018
MATHEMATICA
A318874[n_] := DivisorSum[n, 1 &, 2*EulerPhi[#] > # &];
Array[A318874, 100] (* Paolo Xausa, Jul 08 2024 *)
PROG
(PARI) A318874(n) = sumdiv(n, d, (2*eulerphi(d))>d);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 05 2018
STATUS
approved