A290981 The arithmetic function v_4(n,6).
0, 1, 0, 1, 2, 1, 1, 3, 2, 2, 4, 2, 2, 5, 2, 3, 6, 3, 4, 7, 4, 4, 8, 5, 4, 9, 4, 5, 10, 5, 5, 11, 6, 7, 12, 6, 6, 13, 8, 7, 14, 7, 8, 15, 8, 8, 16, 8, 10, 17, 8, 9, 18, 11, 9, 19, 10, 10, 20, 10, 10, 21, 10, 13, 22, 11, 12, 23, 14
Offset: 2
Keywords
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.
Programs
-
Mathematica
v[g_, n_, h_] := (d = Divisors[n]; Max[(Floor[(d - 1 - GCD[d, g])/h] + 1)*n/d]); Table[v[4, n, 6], {n, 2, 70}] a[n_]:=n Max[Table[(Floor[(d - 1 - GCD[d, 4])/6] + 1)/d, {d, Divisors[n]}]]; Table[a[n], {n, 2, 100}] (* Vincenzo Librandi, Aug 19 2017 *)