OFFSET
2,3
REFERENCES
J. Butterworth, Examining the arithmetic function v_g(n,h). Research Papers in Mathematics, B. Bajnok, ed., Gettysburg College, Vol. 8 (2008).
LINKS
Bela Bajnok, Additive Combinatorics: A Menu of Research Problems, arXiv:1705.07444 [math.NT], May 2017. See Table in Section 1.6.1.
FORMULA
a(n) = (n + gcd(n,10) - 2*gcd(n,5))/2. - Ridouane Oudra, Feb 17 2025
Sum_{n>=6} (-1)^(n+1)/a(n) = 1/2 - sqrt(1-2/sqrt(5))*Pi/10 + sqrt(5)*log(phi)/10 - log(5)/4, where phi is the golden ratio (A001622). - Amiram Eldar, Feb 20 2025
MATHEMATICA
v[g_, n_, h_] := (d = Divisors[n]; Max[(Floor[(d - 1 - GCD[d, g])/h] + 1)*n/d]); Table[v[5, n, 2], {n, 2, 70}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Aug 21 2017
STATUS
approved
