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 A106596 #15 May 08 2015 16:50:26 %S A106596 3,10,11,12,14,15,21,23,30,31,33,34,35,39,47,51,52,59,63,69,73,75,78, %T A106596 94,100,101,102,103,104,105,107,110,111,112,113,115,116,120,123,133, %U A106596 141,146,147,151,153,154,158,159,163,164,166,168,183,185,191,196 %N A106596 Belgian-3 numbers. %H A106596 Reinhard Zumkeller, <a href="/A106596/b106596.txt">Table of n, a(n) for n = 1..10000</a> %t A106596 belgianQ[n_, k_] := If[n < k, False, Block[{id = Join[{0}, IntegerDigits@ n]}, MemberQ[ Accumulate@ id, Mod[n - k, Plus @@ id]] ]]; Select[ Range@ 200, belgianQ[#, 3] &] (* _Robert G. Wilson v_, May 06 2011 *) %o A106596 (Haskell) %o A106596 a106596 n = a106596_list !! (n-1) %o A106596 a106596_list = filter belge3 [3..] where %o A106596 belge3 x = x == (head $ dropWhile (< x) $ %o A106596 scanl (+) 3 $ cycle (map (read . return) $ show x)) %o A106596 -- _Reinhard Zumkeller_, May 08 2015 %Y A106596 See A106039 for definition and link. %Y A106596 Belgian-k numbers, k=0..9: A106039, A106439, A106518, A106596, A106631, A106792, A107014, A107018, A107032, A107043. %Y A106596 Cf. A257770. %K A106596 base,easy,nonn %O A106596 1,1 %A A106596 _Eric Angelini_, Jun 07 2005 %E A106596 Offset changed by _Reinhard Zumkeller_, May 08 2015