login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106596 Belgian-3 numbers. 14

%I #15 May 08 2015 16:50:26

%S 3,10,11,12,14,15,21,23,30,31,33,34,35,39,47,51,52,59,63,69,73,75,78,

%T 94,100,101,102,103,104,105,107,110,111,112,113,115,116,120,123,133,

%U 141,146,147,151,153,154,158,159,163,164,166,168,183,185,191,196

%N Belgian-3 numbers.

%H Reinhard Zumkeller, <a href="/A106596/b106596.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@ 200, belgianQ[#, 3] &] (* _Robert G. Wilson v_, May 06 2011 *)

%o (Haskell)

%o a106596 n = a106596_list !! (n-1)

%o a106596_list = filter belge3 [3..] where

%o belge3 x = x == (head $ dropWhile (< x) $

%o scanl (+) 3 $ 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)