This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A106518 Belgian-2 numbers. 13

%I

%S 2,10,11,12,15,16,20,22,25,26,32,38,41,42,46,67,72,82,86,91,95,100,

%T 101,102,103,105,107,110,111,112,113,115,116,120,121,122,123,124,125,

%U 130,131,132,134,136,138,141,142,143

%N Belgian-2 numbers.

%H Reinhard Zumkeller, <a href="/A106518/b106518.txt">Table of n, a(n) for n = 1..10000</a>

%t belgianQ[n_, k_] := If[n < k, False, Block[{id = Join[{0}, IntegerDigits@ n]}, MemberQ[ Accumulate@ id, Mod[n - k, Plus @@ id]] ]]; Select[ Range@ 145, belgianQ[#, 2] &] (* _Robert G. Wilson v_, May 06 2011 *)

%o a106518 n = a106518_list !! (n-1)

%o a106518_list = filter belge2 [2..] where

%o belge2 x = x == (head \$ dropWhile (< x) \$

%o scanl (+) 2 \$ cycle (map (read . return) \$ show x))

%o -- _Reinhard Zumkeller_, May 08 2015

%Y See A106039 for definition and link.

%Y Belgian-k numbers, k=0..9: A106039, A106439, A106518, A106596, A106631, A106792, A107014, A107018, A107032, A107043.

%Y Cf. A257770.

%K base,easy,nonn

%O 1,1

%A _Eric Angelini_, Jun 07 2005

%E Offset changed by _Reinhard Zumkeller_, May 08 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 21 11:00 EST 2019. Contains 319351 sequences. (Running on oeis4.)