OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..300
EXAMPLE
1, 5/4, 53/36, 115/72, 3163/1800, 3263/1800, 170687/88200, ...
MAPLE
with(numtheory); seq(denom(add(phi(k)/k^2, k = 1..n)), n = 1..25); # G. C. Greubel, Aug 26 2019
MATHEMATICA
Denominator[Table[Sum[EulerPhi[k]/k^2, {k, n}], {n, 30}]] (* Harvey P. Dale, Nov 13 2011 *)
Accumulate[Table[EulerPhi[n]/n^2, {n, 30}]]//Denominator (* More efficient than the first above program. *) (* Harvey P. Dale, Sep 19 2022 *)
PROG
(PARI) a(n) = denominator( sum(k=1, n, eulerphi(k)/k^2)); \\ G. C. Greubel, Aug 26 2019
(Magma) [Denominator( &+[EulerPhi(k)/k^2: k in [1..n]] ): n in [1..25]]; // G. C. Greubel, Aug 26 2019
(Sage) [denominator( sum(euler_phi(k)/k^2 for k in (1..n)) ) for n in (1..25)] # G. C. Greubel, Aug 26 2019
(GAP) List([1..25], n-> DenominatorRat( Sum([1..n], k-> Phi(k)/k^2) ) ); # G. C. Greubel, Aug 26 2019
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
N. J. A. Sloane, Jun 28 2002
STATUS
approved