|
|
A175678
|
|
Numbers m such that the arithmetic mean Ad(m) of the divisors of m and the arithmetic mean Ah(m) of the numbers h < m such that gcd(h,m) = 1 are both integer.
|
|
2
|
|
|
1, 6, 14, 20, 22, 30, 38, 42, 44, 46, 54, 56, 60, 62, 66, 68, 70, 78, 86, 92, 94, 96, 102, 110, 114, 116, 118, 126, 132, 134, 138, 140, 142, 150, 154, 158, 164, 166, 168, 174, 182, 184, 186, 188, 190, 198, 204, 206, 210, 212, 214, 220, 222, 224, 230, 236, 238, 246, 248, 254, 258
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
{a(n)} = 1 and the even arithmetic numbers from A003601.
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|