Wolfram Computation Meets Knowledge

RandomRomanNumeral

Contributed by: Arnoud Buzing

Gives a randomly generated Roman numeral

ResourceFunction["RandomRomanNumeral"][]

give 0 or 1, as a Roman numeral.

ResourceFunction["RandomRomanNumeral"][range]

give a randomly generated Roman numeral, using the given range.

ResourceFunction["RandomRomanNumeral"][range,n]

give n Roman numerals, using range.

Details and Options

If range is an integer value, then the range goes from 1 to range.
If range is a list of two integers {n,m}, then the range goes from n to m.

Examples

Basic Examples

Randomly generate a 0 or 1, as a Roman numeral:

In[1]:=
ResourceFunction["RandomRomanNumeral"][]
Out[1]=

Generate a Roman numeral in the range 1 to 100:

In[2]:=
ResourceFunction["RandomRomanNumeral"][100]
Out[2]=

Generate 10 Roman numerals in the range 1 to 100:

In[3]:=
ResourceFunction["RandomRomanNumeral"][100, 10]
Out[3]=

Resource History