OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
Also denominator of Sum_{i=1..n} (mu(i)/i)*floor(n/i). - Ridouane Oudra, Nov 26 2019
EXAMPLE
1, 3/2, 13/6, 8/3, 52/15, 19/5, 163/35, 361/70, 1223/210, ...
MAPLE
with(numtheory); seq(denom( add(phi(k)/k, k=1..n)), n =1..35); # G. C. Greubel, Aug 25 2019
MATHEMATICA
Table[Sum[EulerPhi[k]/k, {k, n}], {n, 40}]//Denominator (* Harvey P. Dale, Jun 08 2017 *)
PROG
(PARI) a(n) = denominator(sum(k=1, n, eulerphi(k)/k)); \\ Michel Marcus, Jan 26 2015
(Magma) [Denominator( &+[EulerPhi(k)/k: k in [1..n]] ): n in [1..35]]; // G. C. Greubel, Aug 25 2019
(Sage) [denominator( sum(euler_phi(k)/k for k in (1..n)) ) for n in (1..35)] # G. C. Greubel, Aug 25 2019
(GAP) List([1..35], n-> DenominatorRat( Sum([1..n], k-> Phi(k)/k) ) ); # G. C. Greubel, Aug 25 2019
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
N. J. A. Sloane, Jun 28 2002
STATUS
approved