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!)
A106518 Belgian-2 numbers. 13
2, 10, 11, 12, 15, 16, 20, 22, 25, 26, 32, 38, 41, 42, 46, 67, 72, 82, 86, 91, 95, 100, 101, 102, 103, 105, 107, 110, 111, 112, 113, 115, 116, 120, 121, 122, 123, 124, 125, 130, 131, 132, 134, 136, 138, 141, 142, 143 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
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 *)
PROG
(Haskell)
a106518 n = a106518_list !! (n-1)
a106518_list = filter belge2 [2..] where
belge2 x = x == (head $ dropWhile (< x) $
scanl (+) 2 $ cycle (map (read . return) $ show x))
-- Reinhard Zumkeller, May 08 2015
CROSSREFS
See A106039 for definition and link.
Cf. A257770.
Sequence in context: A165451 A121717 A217072 * A158304 A007089 A159952
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Jun 07 2005
EXTENSIONS
Offset changed by Reinhard Zumkeller, May 08 2015
STATUS
approved

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 August 10 05:42 EDT 2024. Contains 375044 sequences. (Running on oeis4.)