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!)
A030166 Number of strokes in Chinese characters for n; also number of strokes in Japanese kanji characters for n. 7
13, 1, 2, 3, 5, 4, 4, 2, 2, 2, 2, 3, 4, 5, 7, 6, 6, 4, 4, 4, 4, 5, 6, 7, 9, 8, 8, 6, 6, 6, 5, 6, 7, 8, 10, 9, 9, 7, 7, 7, 7, 8, 9, 10, 12, 11, 11, 9, 9, 9, 6, 7, 8, 9, 11, 10, 10, 8, 8, 8, 6, 7, 8, 9, 11, 10, 10, 8, 8, 8, 4, 5, 6, 7, 9, 8, 8, 6, 6, 6, 4, 5, 6, 7, 9, 8, 8, 6, 6, 6, 4, 5, 6, 7, 9, 8, 8, 6, 6, 6, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
From Benjamin M. Covert, Oct 30 2018: (Start)
Numbers on the interval of n [200,299] use the "er" (二) form rather than the "liang" (两) form.
Numbers for n = 100m + c where m is a whole number and c is on the interval [1,9] have a "ling" (零) after the "bai" (百) adding 13 additional strokes. (End)
LINKS
Hunter N. Ratliff, Table of n, a(n) for n = 0..20000 (first 301 terms from Benjamin M. Covert)
EXAMPLE
The Chinese number 15 (十五) takes 6 strokes to write so a(15) = 6
PROG
(Python)
from num2words import num2words
def A030166(n):
kanji=['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '百', '千', '万', '億', '兆', '京', '垓', '秭', '穣', '溝', '澗', '正', '載', '極', '零']
strokes=[1, 2, 3, 5, 4, 4, 2, 2, 2, 2, 6, 3, 3, 15, 6, 8, 9, 10, 18, 13, 15, 5, 13, 12, 13]
return sum([strokes[kanji.index(i)] for i in num2words(n, lang='ja')]) # Hunter N. Ratliff, Feb 29 2020
CROSSREFS
Sequence in context: A066036 A010231 A010230 * A010229 A188888 A089568
KEYWORD
nonn,word
AUTHOR
EXTENSIONS
Corrected by Robert Lozyniak (11(AT)onna.com), Oct 22 2001
More terms from Naohiro Nomoto, Oct 23 2001
Extended by Benjamin M. Covert, Oct 30 2018
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 March 29 11:14 EDT 2024. Contains 371278 sequences. (Running on oeis4.)