OFFSET
2,4
COMMENTS
For any integer n>=7, a(n) is the smallest number of diametrical slices needed to divide two pizzas equally between n-4 people. - Jamil Silva, Mar 29 2025
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
Conjecture: a(n) = (n-2-cos(n*Pi)-cos(n*Pi/2))/2. - Wesley Ivan Hurt, Oct 02 2017
a(n) = (n-gcd(n,4))/2 = A291330(n)/2. - Ridouane Oudra, Dec 28 2024
Sum_{n>=5} (-1)^n/a(n) = 1 - log(2) (A244009). - Amiram Eldar, Jan 15 2025
a(2)=a(4)=0, a(3)=1, a(5)=a(6)=2, a(2n+5)=n+2, a(4n+4)=2n, a(4n+6)=2n+2. - Jamil Silva, Mar 29 2025
MAPLE
seq((n-gcd(n, 4))/2, n=2..80); # Ridouane Oudra, Dec 28 2024
MATHEMATICA
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}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Aug 21 2017
STATUS
approved
