OFFSET
0,3
COMMENTS
How is this sequence defined for large values? - Charles R Greathouse IV, Feb 01 2011
Also, number of abacus pieces moved (i.e., differing from their initial positions) for the expression of n on a Chinese abacus. A Chinese abacus is also called "suanpan"(CN), "soroban"(JP). - FUNG Cheok Yin, Aug 08 2017
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 0..3999
Wikipedia, Abacus
Wikipedia, Soroban
Wikipedia, Suanpan
EXAMPLE
a(99)=10 because 99 is LXXXXVIIII.
MAPLE
A092196 := proc(n) return length(convert(n, roman, period=early)): end: seq(A092196(n), n=1..105); # Nathaniel Johnston, May 18 2011
PROG
(PARI) a(n)=vecsum(apply(v->(v\5)+(v%5), digits(n))); \\ Andrew Howroyd, Oct 19 2017
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Marc LeBrun, Feb 24 2004
EXTENSIONS
a(0)=0 prepended by Andrew Howroyd, Oct 19 2017
STATUS
approved