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 A325678 #6 May 14 2019 22:07:23 %S A325678 0,1,1,2,2,2,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6, %T A325678 7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9, %U A325678 9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10 %N A325678 Maximum length of a composition of n such that every restriction to a subinterval has a different sum. %C A325678 A composition of n is a finite sequence of positive integers summing to n. %C A325678 Also the maximum number of nonzero marks on a Golomb ruler of length n. %F A325678 a(n) + 1 = A143824(n + 1). %t A325678 Table[Max[Length/@Select[Join@@Permutations/@IntegerPartitions[n],UnsameQ@@ReplaceList[#,{___,s__,___}:>Plus[s]]&]],{n,0,15}] %Y A325678 Run-lengths are A270813. %Y A325678 Cf. A000079, A007318, A103295, A108917, A143823, A169942. %Y A325678 Cf. A325466, A325676, A325677, A325679, A325681, A325683, A325687. %K A325678 nonn %O A325678 0,4 %A A325678 _Gus Wiseman_, May 13 2019