%I #7 Oct 07 2017 22:11:31
%S 0,1,0,2,2,3,2,4,4,5,4,6,6,7,6,8,8,9,8,10,10,11,10,12,12,13,12,14,14,
%T 15,14,16,16,17,16,18,18,19,18,20,20,21,20,22,22,23,22,24,24,25,24,26,
%U 26,27,26,28,28,29,28,30,30,31,30,32,32,33,32,34,34
%N The arithmetic function v_4(n,2).
%D J. Butterworth, Examining the arithmetic function v_g(n,h). Research Papers in Mathematics, B. Bajnok, ed., Gettysburg College, Vol. 8 (2008).
%H Bela Bajnok, <a href="https://arxiv.org/abs/1705.07444">Additive Combinatorics: A Menu of Research Problems</a>, arXiv:1705.07444 [math.NT], May 2017. See Table in Section 1.6.1.
%F Conjecture: a(n) = (n-2-cos(n*Pi)-cos(n*Pi/2))/2. - _Wesley Ivan Hurt_, Oct 02 2017
%t v[g_, n_, h_] := (d = Divisors[n]; Max[(Floor[(d - 1 - GCD[d, g])/h] + 1)*n/d]); Table[v[4, n, 2], {n, 2, 70}]
%Y Cf. A289435, A289436, A289437, A289438, A289439, A289440, A289441.
%K nonn
%O 2,4
%A _Robert Price_, Aug 21 2017
|