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!)
A106439 Belgian-1 numbers. 13

%I #15 May 08 2015 16:49:09

%S 1,10,11,13,16,17,21,23,41,43,56,58,74,81,91,97,100,101,106,110,111,

%T 113,115,121,122,130,131,137,142,155,157,161,170,171,172,178,179,181,

%U 184,188,193,201

%N Belgian-1 numbers.

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

%o (Haskell)

%o a106439 n = a106439_list !! (n-1)

%o a106439_list = filter belge1 [1..] where

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

%o scanl (+) 1 $ 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,2

%A _Eric Angelini_, Jun 07 2005

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 18 20:10 EDT 2024. Contains 371781 sequences. (Running on oeis4.)