login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160676 Numbers k such that k and 2k use the same number of characters when expressed in Roman numerals. 4
2, 5, 7, 13, 18, 20, 22, 31, 36, 46, 50, 52, 55, 57, 63, 68, 70, 72, 81, 86, 95, 97, 103, 108, 123, 126, 130, 132, 135, 137, 145, 147, 153, 158, 173, 176, 180, 182, 185, 187, 198, 200, 202, 205, 207, 213, 218, 220, 222, 231, 236, 246, 254, 261, 266, 274 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Example: 2 and its double 4 both need two characters in Roman numerals: 2=II, 4=IV. Also 5=V, 10=X; 7=VII, 14=XIV.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..503 (complete up to 3999)
Eric Weisstein's World of Mathematics, Roman Numerals
Wikipedia, Roman numerals
FORMULA
{n: A006968(n) = A006968(2n)}. - Jonathan Vos Post, May 24 2009
MAPLE
for n from 1 to 3999 do if(length(convert(n, roman)) = length(convert(2*n, roman)))then printf("%d, ", n): fi: od: # Nathaniel Johnston, May 18 2011
MATHEMATICA
Select[Range[300], StringLength[RomanNumeral[#]]==StringLength[ RomanNumeral[ 2 #]]&] (* Harvey P. Dale, Apr 29 2022 *)
PROG
(Haskell)
a160676 n = a160676_list !! (n-1)
a160676_list = filter (\x -> a006968 x == a006968 (2 * x)) [1..]
-- Reinhard Zumkeller, Apr 14 2013
CROSSREFS
Cf. A006968. - Jonathan Vos Post, May 24 2009
Sequence in context: A169586 A023229 A176983 * A169690 A144300 A258430
KEYWORD
nonn,easy,base
AUTHOR
Claudio Meller, May 23 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 13:40 EDT 2024. Contains 371792 sequences. (Running on oeis4.)