OFFSET
1,1
COMMENTS
Numbers such that the sum of the number of divisors of their aliquot parts is three times the number of their divisors.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..200 from Paolo P. Lava)
FORMULA
Sum_{n>=1} 1/a(n) = (P(2)^2 - P(4))/2 + P(6) = (A085548^2 - A085964)/2 + A085966 = 0.080837..., where P is the prime zeta function. - Amiram Eldar, Oct 03 2023
EXAMPLE
36 = 2^2 * 3^2; 64 = 2^6.
MAPLE
with(numtheory): P:=proc(q) local a, k, n; for n from 2 to q do a:=sort([op(divisors(n))]);
if 3*tau(n)= add(tau(a[k]), k=1..nops(a)-1) then print(n); fi; od; end: P(10^7);
MATHEMATICA
Select[Range[20000], MemberQ[{{6}, {2, 2}}, FactorInteger[#][[;; , 2]]] &] (* Amiram Eldar, Oct 03 2023 *)
PROG
(PARI) isok(n) = 3*numdiv(n) == sumdiv(n, d, (n!=d)*numdiv(d)); \\ Michel Marcus, Apr 22 2016
(PARI) is(n) = {my(e = factor(n)[, 2]~); e == [6] || e == [2, 2]; } \\ Amiram Eldar, Oct 03 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paolo P. Lava, Apr 22 2016
STATUS
approved