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 A061479 #8 Dec 05 2013 19:54:51 %S A061479 0,1,2,3,4,5,6,7,8,9,109,209,309,409,509,609,709,809,909,10909,20909, %T A061479 30909,40909,50909,60909,70909,80909,90909,1090909,2090909,3090909, %U A061479 4090909,5090909,6090909,7090909,8090909,9090909,109090909,209090909 %N A061479 Smallest number m such that first digit - second digit + third digit - fourth digit ... (of m) = n. %e A061479 a(14) = 509 as 5-0+9 =14 and it is the smallest such number. %t A061479 m = 0; Do[ While[ a = IntegerDigits[ m ]; l = Length[ a ]; e = o = {}; Do[ o = Append[ o, a[ [ 2k - 1 ] ] ], {k, 1, l/2 + .5} ]; Do[ e = Append[ e, a[ [ 2k ] ] ], {k, 1, l/2} ]; Abs[ Apply[ Plus, o ] - Apply [ Plus, e ] ] != n, m++ ]; Print[ m ], {n, 1, 50} ] %Y A061479 Subsequence of A032945. %Y A061479 Cf. A225693, A008593, A060978-A060980, A060982, A061470-A061478, A061870-A061882. %K A061479 nonn,base %O A061479 0,3 %A A061479 _Amarnath Murthy_, May 05 2001 %E A061479 More terms from _Robert G. Wilson v_, May 10 2001