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(numer(add(phi(k)/k^2, k = 1..n)), n = 1..25); # G. C. Greubel, Aug 25 2019
MATHEMATICA
Numerator[Table[Sum[EulerPhi[k]/k^2, {k, n}], {n, 30}]] (* Vincenzo Librandi, Nov 15 2011 *)
PROG
(PARI) a(n) = numerator( sum(k=1, n, eulerphi(k)/k^2));
vector(25, n, a(n)) \\ G. C. Greubel, Aug 25 2019
(Magma) [Numerator( &+[EulerPhi(k)/k^2: k in [1..n]] ): n in [1..25]]; // G. C. Greubel, Aug 25 2019
(Sage) [numerator( sum(euler_phi(k)/k^2 for k in (1..n)) ) for n in (1..25)] # G. C. Greubel, Aug 25 2019
(GAP) List([1..25], n-> NumeratorRat( Sum([1..n], k-> Phi(k)/k^2) ) ); # G. C. Greubel, Aug 25 2019
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
N. J. A. Sloane, Jun 28 2002
STATUS
approved