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,6) = n - A089128(n). - Ridouane Oudra, Dec 15 2024
Sum_{n>=7} (-1)^n/a(n) = Pi/(6*sqrt(3)) - 1/4. - Amiram Eldar, Jan 15 2025
MAPLE
seq(n-gcd(n, 6), n=2..100); # Ridouane Oudra, Dec 15 2024
MATHEMATICA
v[g_, n_, h_] := (d = Divisors[n]; Max[(Floor[(d - 1 - GCD[d, g])/h] + 1)*n/d]); Table[v[6, n, 1], {n, 2, 70}]
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Robert Price, Aug 21 2017
STATUS
approved