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.

A291359 The arithmetic function u(n,2,5).

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