The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
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
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.
Cf. A257770.
Sequence in context: A274204 A306929 A105140 * A247868 A048792 A024585
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 May 15 07:58 EDT 2024. Contains 372538 sequences. (Running on oeis4.)