OFFSET
1,2
COMMENTS
EXAMPLE
a(2) = 6, Ad(6) = (1+2+3+6)/4 = 3, Ah(6) = (1+5)/2 = 3, Ad(6) and Ah(6) are both integer.
PROG
(PARI) Ad(n) = sigma(n)/numdiv(n);
Ah(n) = if(n<2, n>0, n*eulerphi(n)/2)/eulerphi(n);
isok(k) = (type(Ad(k)) == "t_INT") && (type(Ah(k)) == "t_INT"); \\ Michel Marcus, Oct 09 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Aug 07 2010
EXTENSIONS
More terms from Michel Marcus, Oct 09 2023
STATUS
approved