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!)
A107043 Belgian-9 numbers. 13
9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 25, 27, 30, 32, 33, 36, 45, 51, 54, 57, 63, 67, 69, 72, 81, 83, 90, 93, 99, 100, 101, 102, 104, 105, 108, 109, 110, 111, 115, 117, 119, 120, 121, 122, 123, 124, 126, 129, 130, 135, 139, 140, 141, 142, 144, 146, 149, 153 (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@ 155, belgianQ[#, 9] &] (* Robert G. Wilson v, May 06 2011 *)
PROG
(Haskell)
a107043 n = a107043_list !! (n-1)
a107043_list = filter belge9 [9..] where
belge9 x = x == (head $ dropWhile (< x) $
scanl (+) 9 $ cycle (map (read . return) $ show x))
-- Reinhard Zumkeller, May 08 2015
CROSSREFS
See A106039 for definition and link.
Cf. A257770.
Sequence in context: A171892 A020723 A317591 * A182362 A023392 A060009
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 April 24 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)