OFFSET
1,3
COMMENTS
Numbers that are unitarily divided by n are numbers k such that n is a unitary divisor of k, or equivalently, numbers of the form m*n, with gcd(m, n) = 1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Unitary Divisor.
Wikipedia, Unitary divisor.
FORMULA
EXAMPLE
Fractions begin with: 1, 1/4, 2/9, 1/8, 4/25, 1/18, 6/49, 1/16, 2/27, 1/25, 10/121, 1/36, ...
For n = 2, the numbers that are unitarily divided by 2 are the numbers of the form 4*k+2 whose asymptotic density is 1/4. Therefore a(2) = numerator(1/4) = 1.
MATHEMATICA
a[n_] := Numerator[EulerPhi[n]/n^2]; Array[a, 100]
PROG
(PARI) a(n) = numerator(eulerphi(n)/n^2);
CROSSREFS
KEYWORD
nonn,easy,frac
AUTHOR
Amiram Eldar, Jun 01 2024
STATUS
approved