OFFSET
2,5
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.
MATHEMATICA
v[g_, n_, h_] := (d = Divisors[n]; Max[(Floor[(d - 1 - GCD[d, g])/h] + 1)*n/d]); Table[v[4, n, 5], {n, 2, 70}]
a[n_]:=n*Max[Table[(Floor[(d - 1 - GCD[d, 4])/5] + 1)/d, {d, Divisors[n]}]]; Table[a[n], {n, 2, 100}] (* Vincenzo Librandi, Aug 17 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Aug 16 2017
STATUS
approved