Questions tagged [roman-numerals]
This tag indicates that the challenge involves Roman numerals
31
questions
7
votes
3
answers
372
views
Relaxing Romans
The Roman numeral for 499 is usually given as CDXCIX which breaks down as CD + XC + IX = 400 + 90 + 9 where numerals like ...
11
votes
3
answers
616
views
Write the date in abbreviated Latin
Inspired by How do you write dates in Latin?
Challenge
Given a month-and-day date, output that date in abbreviated Latin, as explained below.
Input
Input is flexible, following conventions from other ...
-3
votes
7
answers
1k
views
Straight pen strokes for Prime Numbers
Challenge
You are supposed to output the series I recently designed which goes as follows which are pen stroke counts of ascending prime numbers:
...
13
votes
4
answers
484
views
Not-Roman-Numeral Addition
Write the shortest program or function that mimics the addition in this XKCD strip:
Input
Two positive decimal integers containing only the digits 150.
Output
The ...
18
votes
9
answers
2k
views
ro1000an nu1000era50 en100o501ng
In the hovertext of this xkcd:
There's an "encoding" based on replacing runs of roman numerals with their sums. To do this:
Find all runs of at least 1 roman numeral (...
19
votes
19
answers
4k
views
How long is it in Roman
Or Fix American Kennel Club's database
As covered by the recent video by Matt Parker, the American Kennel Club permits thirty-seven (37) dogs of each breed to be assigned the same name (source), ...
12
votes
4
answers
319
views
Find an autogram using roman numerals
This task builds on: Find all reflexicons using roman numerals
An autogram is a sentence that lists the count of its own letters. Below is one of the first documented autograms found by Lee Sallows in ...
13
votes
6
answers
415
views
Find all reflexicons using roman numerals
A reflexicon is a self-descriptive word list that describes its own letter counts. Take for example the one found by Ed Miller in 1985 in English:
Sixteen e’s, six f’s, one g, three h’s, nine i’s, ...
22
votes
12
answers
2k
views
Roman Numeral-like Code Generator
Background
Roman numeral is a simple number system with the following properties:
Each symbol in the system maps to a specific value. (e.g. ...
16
votes
6
answers
918
views
Roman Numeral Counting
Roman numerals can be (mostly) written in a one column format, because each letter intersects the top and the bottom of the line. For example: I, or 1 intersects ...
19
votes
15
answers
4k
views
Match Roman Numerals
Challenge
Given some input string, return a truthy value if it represents a correct roman numeral between 1 (=I) and 3999 (=...
20
votes
4
answers
2k
views
When in Rome, Count as Romans do?
Background
This challenge is inspired by this website, which published the following diagram:
This diagram shows us that the longest Roman Numeral expression under 250 is that of 188, which requires ...
30
votes
29
answers
4k
views
Those Greedy Romans!
Given a strictly positive integer, return the shortest possible Roman numeral using only the additive rule. Output must consist of zero or more of each of the characters ...
22
votes
7
answers
1k
views
Look-and-say sequence: roman numerals edition
Challenge description
We've had a few challenges involving the Look-and-say sequence. Quick reminder:
The sequence starts with 1,
Subsequent terms of this ...
18
votes
10
answers
2k
views
Integer goes back and forth through time
Input:
An integer.
Output:
First convert the integer to it's equivalent Roman Numeral.
Then convert each capital letter of that Roman Numeral to their ASCII/UNICODE decimal value.
And output the ...