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!)
A106792 Belgian-5 numbers. 13
5, 10, 11, 12, 13, 29, 38, 45, 50, 52, 53, 55, 61, 100, 101, 102, 110, 111, 114, 120, 121, 124, 125, 130, 131, 132, 134, 135, 136, 137, 138, 139, 140, 145, 148, 150, 151, 160, 174, 175, 182, 186, 191, 195, 211 (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@ 211, belgianQ[#, 5] &] (* Robert G. Wilson v, May 06 2011 *)
PROG
(Haskell)
a106792 n = a106792_list !! (n-1)
a106792_list = filter belge5 [5..] where
belge5 x = x == (head $ dropWhile (< x) $
scanl (+) 5 $ cycle ((map (read . return) . show) x))
-- Reinhard Zumkeller, May 08 2015
CROSSREFS
See A106039 for definition and link.
Cf. A257770.
Sequence in context: A324593 A107975 A262665 * A232487 A243936 A257263
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 2 07:19 EDT 2024. Contains 372178 sequences. (Running on oeis4.)