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!)
A107018 Belgian-7 numbers. 13
7, 10, 11, 21, 27, 29, 31, 32, 37, 41, 56, 70, 71, 77, 85, 94, 100, 101, 103, 106, 110, 111, 112, 113, 117, 118, 119, 122, 127, 128, 131, 133, 143, 152, 173, 176, 201, 205 (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@ 206, belgianQ[#, 7] &] (* Robert G. Wilson v, May 06 2011 *)

PROG

(Haskell)

a107018 n = a107018_list !! (n-1)

a107018_list = filter belge7 [7..] where

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

                     scanl (+) 7 $ 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: A057986 A274204 A105140 * A247868 A048792 A024585

Adjacent sequences:  A107015 A107016 A107017 * A107019 A107020 A107021

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 17 05:36 EST 2018. Contains 318192 sequences. (Running on oeis4.)