login
A107014
Belgian-6 numbers.
13
6, 10, 11, 12, 20, 21, 22, 23, 24, 28, 30, 33, 34, 36, 41, 42, 46, 49, 58, 60, 61, 62, 66, 68, 73, 83, 92, 96, 100, 101, 102, 103, 110, 111, 112, 113, 114, 118, 120, 121, 122, 123, 126, 127, 128, 129, 130, 131, 132, 133, 134, 136, 138, 143, 150, 155, 156
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@ 159, belgianQ[#, 6] &] (* Robert G. Wilson v, May 06 2011 *)
PROG
(Haskell)
a107014 n = a107014_list !! (n-1)
a107014_list = filter belge6 [6..] where
belge6 x = x == (head $ dropWhile (< x) $
scanl (+) 6 $ cycle (map (read . return) $ show x))
-- Reinhard Zumkeller, May 08 2015
CROSSREFS
See A106039 for definition and link.
Cf. A257770.
Sequence in context: A284302 A284350 A333410 * A206036 A349761 A132628
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Jun 07 2005
EXTENSIONS
Offset changed by Reinhard Zumkeller, May 08 2015
STATUS
approved