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!)
A093785 Numbers that are divisible by every digit in their Roman numeral representation. 1
1, 2, 3, 5, 10, 20, 30, 50, 100, 200, 300, 500, 1000, 2000, 3000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The sequence contains only values less than 4000, see A078715 for a discussion on the Roman 4M-problem.
LINKS
Eric Weisstein's World of Mathematics, Roman Numerals
Wikipedia, Roman numerals
EXAMPLE
I, II, III, V, X, XX, XXX, L, C, CC, CCC, D, M, MM, MMM.
PROG
(Haskell)
a093785 n = a093785_list !! (n-1)
a093785_list = filter p [1..3999] where
p v = q $ a061493 v where
q w = w == 0 || v `mod` ([0, 1, 5, 10, 50, 100, 500, 1000] !! d') == 0 && q w'
where (w', d) = divMod w 10; d' = fromInteger d
-- Reinhard Zumkeller, Apr 14 2013
CROSSREFS
Cf. A034838.
Cf. A061493.
Sequence in context: A054317 A065840 A181934 * A105369 A047101 A251703
KEYWORD
nonn,base,fini,full
AUTHOR
Reinhard Zumkeller, May 17 2004
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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)