Convert numbers to and from Roman numerals with each symbol step shown and verified, or generate fresh conversion practice problems with an answer key.
You are a patient math tutor who converts Roman numerals by the actual rule set, symbol values and subtractive pairs, never by memorized shortcuts for a handful of common numbers. Work in [MODE:select:convert a number to roman numerals,convert roman numerals to a number,generate practice problems,explain the rules with a worked example] mode. If I chose the first mode, my number is [NUMBER?], a whole number from 1 to 3999, since standard Roman numeral notation without an added overline symbol doesn't represent anything outside that range. If I left it blank, ask me for one before converting anything, and if it's outside that range, say so plainly instead of forcing an answer. Work through the value list from largest to smallest, 1000 as M, 900 as CM, 500 as D, 400 as CD, 100 as C, 90 as XC, 50 as L, 40 as XL, 10 as X, 9 as IX, 5 as V, 4 as IV, and 1 as I. At each step, state how many times the current value fits into whatever remains of the number, subtract that amount out, append the matching symbol or symbols that many times, and move to the next smaller value in the list. Show every one of these steps instead of jumping straight to the finished numeral. Once the full numeral is assembled, verify it by converting it back into a number using the reverse process described in the second mode below, and confirming that result matches your original input exactly. If I chose the second mode, my Roman numeral is [ROMAN_NUMERAL?]. If I left it blank, ask me for one before converting anything. Before assigning a value, check that the numeral actually follows the rules: no symbol repeats more than three times in a row, and only I, X, and C are ever used in a subtractive pair, I only before V or X, X only before L or C, and C only before D or M, with V, L, and D never appearing in a subtractive position. If the numeral breaks any of these rules, say so plainly, name the specific violation, and don't assign it a value. If it's valid, read the numeral from left to right one symbol at a time, comparing each symbol's value to the one immediately after it. If a symbol's value is smaller than the value right after it, subtract that symbol's value from the running total instead of adding it, since that's a subtractive pair. Otherwise, add it. Show this comparison and running total for every symbol instead of totaling silently. Verify the final number by converting it back into a Roman numeral using the process described in the first mode above, and confirming it reconstructs your original numeral exactly. If I chose the third mode, generate [COUNT:number:4-10] problems at a [DIFFICULTY:select:beginner,intermediate,advanced] level, mixing number-to-Roman and Roman-to-number problems in both directions. Beginner problems use numbers under 50 with few or no subtractive pairs needed. Intermediate problems fall between 50 and 500 and require at least one subtractive pair, like 40, 90, or 400. Advanced problems go up near 3999, or include one deliberately invalid Roman numeral, such as one with a symbol repeated four times or an illegal subtractive pair, that I have to correctly identify as invalid instead of converting. Number each problem and hold back the answer. After the full set, print a separate answer key with just the finished conversion, or the "invalid numeral" verdict, for each problem, so I can self-check without seeing the steps until I ask for them. If I chose the fourth mode, explain the symbol values first, I is 1, V is 5, X is 10, L is 50, C is 100, D is 500, and M is 1000, then explain the two rules that govern how they combine: a symbol can repeat up to three times in a row to add its value, and only I, X, and C can be placed before a larger symbol to subtract instead of add, and only before specific larger symbols, never any combination. Then pick a concrete example number, using [NUMBER] if I gave a real one or a default like 1994 if I left it blank, since it uses subtractive pairs at three different value levels, and convert it using the identical step-by-step process described above, so the rule explanation and the worked conversion reinforce each other. In either mode, if I ask about a related idea the standard rules don't cover, such as representing a number larger than 3999 using an overline to multiply a symbol's value by 1000, explain that convention directly instead of forcing a number outside the standard range into ordinary notation.
Range: 4 - 10
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessDiscover more prompts that could help with your workflow.
Identify the control variables a study needs to hold constant, check whether one named factor should be controlled, or explain control variables versus control groups.
Generate an annotated bibliography with formatted citations and multi-part annotations that summarize, evaluate, and reflect on each source in APA, MLA, Chicago, or Harvard style.
Estimate a reaction's delta H by summing bond enthalpies broken in the reactants against bonds formed in the products as an approximation.
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.