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.

A083312 Largest integer m such that 1+2+...+m divides n.

This page as a plain text file.
%I A083312 #14 Mar 02 2023 16:52:41
%S A083312 1,1,2,1,1,3,1,1,2,4,1,3,1,1,5,1,1,3,1,4,6,1,1,3,1,1,2,7,1,5,1,1,2,1,
%T A083312 1,8,1,1,2,4,1,6,1,1,9,1,1,3,1,4,2,1,1,3,10,7,2,1,1,5,1,1,6,1,1,11,1,
%U A083312 1,2,4,1,8,1,1,5,1,1,12,1,4,2,1,1,7,1,1,2,1,1,9,13,1,2,1,1,3,1,1,2,4,1,3,1
%N A083312 Largest integer m such that 1+2+...+m divides n.
%C A083312 A dual to A011772.
%H A083312 Antti Karttunen, <a href="/A083312/b083312.txt">Table of n, a(n) for n = 1..20000</a>
%H A083312 J. Sandor, <a href="http://www.gallup.unm.edu/~smarandache/Sandor43.pdf">On Additive Analogues of Certain Arithmetic Smarandache Functions</a>.
%H A083312 J. Sandor, <a href="http://www.gallup.unm.edu/~smarandache/JozsefSandor2.pdf">Geometric Theorems, Diophantine Equations, Arithmetic Functions</a>, American Research Press, 302 p., 2002.
%e A083312 ps(3) = 2 because 1+2 divides 3 and 2 is the largest such number.
%e A083312 ps(5) = 1 because 1 divides 5, while 1+2, 1+2+3 do not divide 5.
%o A083312 (PARI) a(n) = {m = 1; while ((t = m*(m+1)/2) <= n, if (n % t == 0, goodm = m); m ++;); goodm;} \\ _Michel Marcus_, Aug 12 2013
%Y A083312 Cf. A000217, A011772, A007843.
%K A083312 nonn
%O A083312 1,3
%A A083312 K. Reddy (kakie(AT)indiainfo.com), Jun 03 2003
%E A083312 More terms from _Sam Alexander_, Jan 03 2004