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 A103295 #63 Apr 12 2022 06:37:49 %S A103295 1,1,1,3,4,9,17,33,63,128,248,495,988,1969,3911,7857,15635,31304, %T A103295 62732,125501,250793,503203,1006339,2014992,4035985,8080448,16169267, %U A103295 32397761,64826967,129774838,259822143,520063531,1040616486,2083345793,4168640894,8342197304,16694070805,33404706520,66832674546,133736345590 %N A103295 Number of complete rulers with length n. %C A103295 For definitions, references and links related to complete rulers see A103294. %C A103295 Also the number of compositions of n whose consecutive subsequence-sums cover an initial interval of the positive integers. For example, (2,3,1) is such a composition because (1), (2), (3), (3,1), (2,3), and (2,3,1) are subsequences with sums covering {1..6}. - _Gus Wiseman_, May 17 2019 %C A103295 a(n) ~ c*2^n, where 0.2427 < c < 0.2459. - _Fei Peng_, Oct 17 2019 %H A103295 Fausto A. C. Cariboni, <a href="/A103295/b103295.txt">Table of n, a(n) for n = 0..49</a> %H A103295 Scott Harvey-Arnold, Steven J. Miller, and Fei Peng, <a href="https://arxiv.org/abs/2001.08931">Distribution of missing differences in diffsets</a>, arXiv:2001.08931 [math.CO], 2020. %H A103295 Peter Luschny, <a href="http://oeis.org/wiki/User:Peter_Luschny/PerfectRulers">Perfect rulers</a> %H A103295 Hugo Pfoertner, <a href="http://www.randomwalk.de/sequences/a103295.txt">Count complete rulers of given length.</a> FORTRAN program. %H A103295 <a href="/index/Per#perul">Index entries for sequences related to perfect rulers.</a> %H A103295 Gus Wiseman, <a href="/A103295/a103295.txt">Illustration of A103295</a>. %F A103295 a(n) = Sum_{i=0..n} A103294(n, i) = Sum_{i=A103298(n)..n} A103294(n, i). %e A103295 a(4) = 4 counts the complete rulers with length 4, {[0,2,3,4],[0,1,3,4],[0,1,2,4],[0,1,2,3,4]}. %t A103295 Table[Length[Select[Join@@Permutations/@IntegerPartitions[n],SubsetQ[ReplaceList[#,{___,s__,___}:>Plus[s]],Range[n]]&]],{n,0,15}] (* _Gus Wiseman_, May 17 2019 *) %Y A103295 Cf. A103300 (Perfect rulers with length n). Main diagonal of A349976. %Y A103295 Cf. A000079, A126796, A143823, A169942, A325676, A325677, A325683, A325684, A325685. %K A103295 nonn %O A103295 0,4 %A A103295 _Peter Luschny_, Feb 28 2005 %E A103295 a(30)-a(36) from _Hugo Pfoertner_, Mar 17 2005 %E A103295 a(37)-a(38) from _Hugo Pfoertner_, Dec 10 2021 %E A103295 a(39) from _Hugo Pfoertner_, Dec 16 2021