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 A080717 #8 Mar 16 2015 22:29:22 %S A080717 2,3,1,3,3,2,2,3,3,2,3,3,2,3,1,3,1,3,3,2,3,3,2,3,1,3,3,2,3,3,2,3,1,3, %T A080717 3,2,2,3,3,2,2,3,3,2,3,3,2,3,1,3,3,2,3,3,2,3,1,3,3,2,2,3,3,2,3,3,2,3, %U A080717 1,3,3,2,3,3,2,3,1,3,3,2,2,3,3,2,3,3,2,3,1,3,1,3,3,2,3,3,2,3,1,3,1,3,3,2,3 %N A080717 Let S(0) = 1; obtain S(k) from S(k-1) by applying 1 -> 2, 2 -> 31, 3 -> 332; sequence is S(0), S(1), S(2), ... %C A080717 a(n) = A080704(n+1) - A080704(n). Sum of first n terms + 2 = A080704(n+1). %e A080717 2 31 3322 3323323131 ... %t A080717 Flatten[ Table[ Nest[ Flatten[ # /. {1 -> {2}, 2 -> {3, 1}, 3 -> {3, 3, 2}}] &, {2}, n], {n, 0, 6}]] (* _Robert G. Wilson v_, May 07 2005 *) %K A080717 easy,nonn %O A080717 1,1 %A A080717 _Matthew Vandermast_, Mar 06 2003 %E A080717 Edited by _Robert G. Wilson v_, May 07 2005