login
A106596
Belgian-3 numbers.
14
3, 10, 11, 12, 14, 15, 21, 23, 30, 31, 33, 34, 35, 39, 47, 51, 52, 59, 63, 69, 73, 75, 78, 94, 100, 101, 102, 103, 104, 105, 107, 110, 111, 112, 113, 115, 116, 120, 123, 133, 141, 146, 147, 151, 153, 154, 158, 159, 163, 164, 166, 168, 183, 185, 191, 196
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@ 200, belgianQ[#, 3] &] (* Robert G. Wilson v, May 06 2011 *)
PROG
(Haskell)
a106596 n = a106596_list !! (n-1)
a106596_list = filter belge3 [3..] where
belge3 x = x == (head $ dropWhile (< x) $
scanl (+) 3 $ cycle (map (read . return) $ show x))
-- Reinhard Zumkeller, May 08 2015
CROSSREFS
See A106039 for definition and link.
Cf. A257770.
Sequence in context: A212354 A129489 A104702 * A024575 A114134 A167519
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Jun 07 2005
EXTENSIONS
Offset changed by Reinhard Zumkeller, May 08 2015
STATUS
approved