A092197 Brevity advantage of "new style" over "old style" Roman numerals.
0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 2, 2, 2, 2, 4, 2, 2, 2, 2, 5, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 3, 3, 3, 3, 5, 3, 3, 3, 3, 6, 0, 0, 0, 0, 2, 0
Offset: 1
Examples
a(4)=2 because old style takes four letters (IIII) versus new style's two (IV).
Links
- Nathaniel Johnston, Table of n, a(n) for n = 1..3999
Programs
-
Maple
A092197 := proc(n) return length(convert(n, roman, period=early)) - length(convert(n, roman)): end: seq(A092197(n),n=1..105); # Nathaniel Johnston, May 18 2011