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!)
A107032 Belgian-8 numbers. 13
8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 23, 26, 28, 31, 35, 40, 42, 43, 44, 48, 53, 62, 64, 71, 74, 75, 79, 80, 86, 88, 97, 100, 101, 102, 104, 105, 106, 108, 109, 110, 111, 112, 113, 115, 117, 118, 119, 120, 121, 123, 126, 129, 132, 135, 139, 141, 142, 144 (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@ 148, belgianQ[#, 8] &] (* Robert G. Wilson v, May 06 2011 *)
PROG
(Haskell)
a107032 n = a107032_list !! (n-1)
a107032_list = filter belge8 [8..] where
belge8 x = x == (head $ dropWhile (< x) $
scanl (+) 8 $ cycle (map (read . return) $ show x))
-- Reinhard Zumkeller, May 08 2015
CROSSREFS
See A106039 for definition and link.
Cf. A257770.
Sequence in context: A066004 A334938 A334928 * A031953 A043697 A043624
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 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)