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 A118164 #4 Feb 16 2025 08:33:00 %S A118164 0,0,1,1,1,1,1,2,2,1,1,1,1,1,1,2,2,2,1,1,1,1,4,1,2,1,3,1,2,1,2,2,3,1, %T A118164 2,3,1,2,3,2,1,1,2,1,1,1,2,3,1,1,1,1,1,3,2,1,1,1,3,2,2,1,2,1,1,1,3,1, %U A118164 1,4,1,2,1,3,1,2,1,2,1,1,2,2,1,3,1,3,4,2,1,3,1,2,2,2,3,1,1,1,2,2,1,3,1,1,4 %N A118164 Number of representations of A005243(n) as sum of consecutive earlier terms in A005243. %C A118164 A118165(n) = Min{m: a(m) = n}; %C A118164 for n>2: a(n) > 0 by definition of A005243. %H A118164 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/HofstadterSequences.html">Hofstadter Sequences</a> %e A118164 A005243(33) = 54 = 29+25 = Sum(A005243[17:18]) = %e A118164 19+18+17 = Sum(A005243[11:13]) = 14+11+10+8+6+5 = %e A118164 Sum(A005243[4:9]), therefore a(33) = 3. %K A118164 nonn %O A118164 1,8 %A A118164 _Reinhard Zumkeller_, Apr 13 2006