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 A018244 #6 May 20 2014 14:54:16 %S A018244 3,4,4,4,3,4,4,4,4,3,4,4,4,4,3,4,4,4,4,3,4,4,4,3,4,4,4,4,3,4,4,4,4,3, %T A018244 4,4,4,4,3,4,4,4,4,3,4,4,4,3,4,4,4,4,3,4,4,4,4,3,4,4,4,4,3,4,4,4,4,3, %U A018244 4,4,4,3,4,4,4,4,3,4,4,4 %N A018244 A self-generating sequence: there are a(n) (k+1)'s between successive k's, where k=3. %p A018244 k := 3; A018244 := proc(n) global k; floor(n*(k+sqrt(k^2+4*k))/2)-floor((n-1)*(k+sqrt(k^2+4*k))/2); end; %Y A018244 Cf. A001468, A007538. %K A018244 nonn %O A018244 1,1 %A A018244 _Jonas Wallgren_