login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106631 Belgian-4 numbers. 13
4, 10, 11, 13, 14, 20, 21, 22, 24, 25, 31, 32, 37, 40, 43, 44, 51, 54, 57, 64, 65, 76, 82, 84, 87, 89, 92, 98, 100, 101, 104, 110, 111, 112, 114, 116, 121, 122, 124, 125, 127, 128, 137, 140, 141, 142, 144, 145, 148, 149, 151, 154, 158, 172, 177, 191, 196 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

MATHEMATICA

belgianQ[n_, k_] := If[n < k, False, Block[{id = Join[{0}, IntegerDigits@ n]}, MemberQ[ Accumulate@ id, Mod[n - k, Plus @@ id]] ]]; Select[ Range@ 199, belgianQ[#, 4] &] (* Robert G. Wilson v, May 06 2011 *)

PROG

(Haskell)

a106631 n = a106631_list !! (n-1)

a106631_list = filter belge4 [4..] where

   belge4 x = x == (head $ dropWhile (< x) $

                    scanl (+) 4 $ cycle (map (read . return) $ show x))

-- Reinhard Zumkeller, May 08 2015

CROSSREFS

See A106039 for definition and link.

Belgian-k numbers, k=0..9: A106039, A106439, A106518, A106596, A106631, A106792, A107014, A107018, A107032, A107043.

Cf. A257770.

Sequence in context: A240580 A102535 A074226 * A120261 A310338 A101154

Adjacent sequences:  A106628 A106629 A106630 * A106632 A106633 A106634

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 13 05:16 EST 2018. Contains 318082 sequences. (Running on oeis4.)