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.
%I A270306 #17 Dec 11 2021 04:30:06 %S A270306 0,1,6,10,20,0,28,44,0,0,88,0,104,0,0,136,272,0,304,0,0,0,368,0,0,0,0, %T A270306 0,464,0,496,592,0,0,0,0,1184,0,0,0,1312,0,1376,0,0,0,1504,0,0,0,0,0, %U A270306 1696,0,0,0,0,0,1888,0,1952,0,0,2144,0,0,4288,0,0,0,4544 %N A270306 Smallest number which is representable as a sum of n but no fewer consecutive nonnegative integers, or 0 for n > 1 if no such number exists. %H A270306 Ray Chandler, <a href="/A270306/b270306.txt">Table of n, a(n) for n = 1..10000</a> %F A270306 a(A111774(n)) = 0. %F A270306 a(A174090(n)) = A163172(n). %e A270306 a(2) = 1 = 0 + 1 (two but no fewer terms) %e A270306 a(3) = 6 = 1 + 2 + 3 (three but no fewer terms) %e A270306 a(4) = 10 = 1 + 2 + 3 + 4 (four but no fewer terms) %e A270306 a(5) = 20 = 2 + 3 + 4 + 5 + 6 (five but no fewer terms) %e A270306 a(6) = 0, since no number needs six but no fewer terms %e A270306 a(7) = 28 = 1 + 2 + 3 + 4 + 5 + 6 + 7 (seven but no fewer terms) %Y A270306 Cf. A138591, A163172, A270296 to A270303. %K A270306 nonn %O A270306 1,3 %A A270306 _Martin Renner_, Mar 14 2016