cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A036788 Length of Roman notation for n <= length of decimal representation.

Original entry on oeis.org

1, 5, 10, 11, 15, 20, 40, 50, 51, 55, 60, 90, 100, 101, 102, 104, 105, 106, 109, 110, 111, 115, 120, 140, 150, 151, 155, 160, 190, 200, 201, 205, 210, 250, 300, 400, 401, 405, 410, 450, 500, 501, 502, 504, 505, 506, 509, 510, 511, 515, 520, 540, 550, 551, 555
Offset: 1

Views

Author

Keywords

Comments

The Roman numeration system used here is the naive one taught in primary school. This sequence, like many others involving numeration systems, is neither well-defined nor interesting for large values of n. - N. J. A. Sloane, Jul 03 2008

Examples

			15 = XV has length 2 in both notations.
		

Crossrefs

Programs

  • Haskell
    a036788 n = a036788_list !! (n-1)
    a036788_list = [x | x <- [1..], a006968 x <= a055642 x]
    -- Reinhard Zumkeller, Apr 20 2013
  • Maple
    for n from 1 to 3999 do if(length(convert(n, roman)) <= length(n))then printf("%d, ", n): fi: od: # Nathaniel Johnston, May 18 2011
  • Mathematica
    Select[Range[560],StringLength[IntegerString[#,"Roman"]]<= IntegerLength[ #]&] (* Harvey P. Dale, Dec 18 2011 *)

Formula

A006968(a(n)) <= A055642(a(n)). - Reinhard Zumkeller, Apr 20 2013

Extensions

Corrected and extended by Larry Reeves (larryr(AT)acm.org), Sep 25 2000

A133194 Numbers requiring a prime number of chisel strokes for their representation in Roman numerals.

Original entry on oeis.org

2, 3, 4, 5, 6, 8, 9, 10, 11, 13, 14, 16, 18, 19, 21, 23, 24, 26, 29, 31, 38, 41, 43, 44, 46, 49, 50, 51, 53, 54, 56, 58, 59, 61, 63, 64, 66, 69, 71, 78, 83, 84, 86, 88, 89, 91, 93, 94, 96, 99, 100, 101, 103, 104, 106, 108, 109, 111, 113, 114, 116, 119, 121
Offset: 1

Views

Author

Jonathan Vos Post, Oct 09 2007

Keywords

Comments

Finite if one excludes multiple strokes chiseled over the letter, each meaning multiplication by 1000. The subsequence "primes requiring a prime number of chisel strokes for its representation in Roman numerals" begins 2, 3, 5, 11, 13, 19, 23, 29, 31, 41, 43, 53, 59, 61, 71, 83, 89, 101, 103. This sequence uses the definition of strokes given in A002963, not A118098.

Examples

			a(1) = 2 because II requires 2 strokes (neglecting serifs).
a(44) = 88 because LXXXVIII requires 13 strokes.
		

Crossrefs

Formula

A002963(a(n)) is in A000040.
Showing 1-2 of 2 results.