cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A291363 The arithmetic function u(n,2,8).

This page as a plain text file.
%I A291363 #8 Oct 01 2018 21:09:34
%S A291363 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,
%T A291363 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,
%U A291363 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
%N A291363 The arithmetic function u(n,2,8).
%H A291363 Antti Karttunen, <a href="/A291363/b291363.txt">Table of n, a(n) for n = 1..65537</a>
%H A291363 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.3.
%t A291363 u[n_, m_, h_] := (d = Divisors[n]; Min[(h*Ceiling[m/d] - h + 1)*d]); Table[u[n, 2, 8], {n, 1, 70}]
%o A291363 (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
%Y A291363 Cf. A289435, A289436, A289437, A289438, A289439, A289440, A289441.
%K A291363 nonn
%O A291363 1,1
%A A291363 _Robert Price_, Aug 23 2017
%E A291363 More terms from _Antti Karttunen_, Oct 01 2018