reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Select[Range[900, 1776], ContainsAll[Characters[RomanNumeral[#]], {"M", "C", "D", "X", "L", "I", "V"}]&] (* James C. McMahon, Jan 24 2024 *)
approved
editing
proposed
approved
editing
proposed
(PARI) A105417=vector(192, i, fromdigits(apply(d->d+5-!d, digits(i+63, 4)))-5000+555) \\ M. F. Hasler, Jul 10 2018
A006968(a(n)) >= 7. - Reinhard Zumkeller, Apr 14 2013
Equivalently, numbers of the form abcd with 1 <= a <= 3 and b,c,d in {4,6,7,8}. - M. F. Hasler, Jul 10 2018
A006968(a(n)) >= 7. - Reinhard Zumkeller, Apr 14 2013
with(StringTools): for n from 1 to 3999 do r:=convert(n, roman): if( Search("I", r) > 0 and Search("V", r) > 0 and Search("X", r) > 0 and Search("L", r) > 0 and Search("C", r) > 0 and Search("D", r) > 0 and Search("M", r) > 0) then printf("%d, ", n): fi: od: # Nathaniel Johnston, May 18 2011
A105417 := select(n->nops(convert(convert(n, roman), set))=7, `$`(3888)) # M. F. Hasler, Jul 10 2018
(PARI) A105417=vector(192, i, fromdigits(apply(d->d+5-!d, digits(i+63, 4)))-5000) \\ M. F. Hasler, Jul 10 2018
approved
editing
reviewed
approved