login
A291363
The arithmetic function u(n,2,8).
1
9, 2, 3, 2, 5, 2, 7, 2, 3, 2, 9, 2, 9, 2, 3, 2, 9, 2, 9, 2, 3, 2, 9, 2, 5, 2, 3, 2, 9, 2, 9, 2, 3, 2, 5, 2, 9, 2, 3, 2, 9, 2, 9, 2, 3, 2, 9, 2, 7, 2, 3, 2, 9, 2, 5, 2, 3, 2, 9, 2, 9, 2, 3, 2, 5, 2, 9, 2, 3, 2, 9, 2, 9, 2, 3, 2, 7, 2, 9, 2, 3, 2, 9, 2, 5, 2, 3, 2, 9, 2, 7, 2, 3, 2, 5, 2, 9, 2, 3, 2, 9, 2, 9, 2, 3
OFFSET
1,1
LINKS
Bela Bajnok, Additive Combinatorics: A Menu of Research Problems, arXiv:1705.07444 [math.NT], May 2017. See Table in Section 1.6.3.
MATHEMATICA
u[n_, m_, h_] := (d = Divisors[n]; Min[(h*Ceiling[m/d] - h + 1)*d]); Table[u[n, 2, 8], {n, 1, 70}]
PROG
(PARI) A291363(n, m=2, h=8) = { my(p=0, k); fordiv(n, d, k = d*(h*ceil(m/d) - h + 1); if(!p || (k < p), p = k)); (p); }; \\ Antti Karttunen, Oct 01 2018
KEYWORD
nonn
AUTHOR
Robert Price, Aug 23 2017
EXTENSIONS
More terms from Antti Karttunen, Oct 01 2018
STATUS
approved