OFFSET
2,4
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))/2 = A291306(n)/2. - Ridouane Oudra, Jan 09 2025
MAPLE
seq((n-gcd(n, 6))/2, n=2..80); # Ridouane Oudra, Jan 09 2025
MATHEMATICA
v[g_, n_, h_] := (d = Divisors[n]; Max[(Floor[(d - 1 - GCD[d, g])/h] + 1)*n/d]); Table[v[6, n, 2], {n, 2, 70}]
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Robert Price, Aug 21 2017
STATUS
approved