Share to: share facebook share twitter share wa share telegram print page

三十六進法

三十六進法(さんじゅうろくしんほう)とは、36を底(てい)とし、底およびそのを基準にして数を表す方法である。底である 36 は Microsoft Excel の BASE 関数や、Python の拡張モジュール・NumPy の base_repr 関数の基数パラメータに指定できる最大値である[1][2]

記数法

三十六進記数法とは、36 を底とする位取り記数法である。慣用に従い、通常のアラビア数字十進数とし、三十六進記数法の表記は括弧および下付の 36 で表す。三十六進記数法で表された数を三十六進数と呼ぶ。

一般には、0, 1, …, 8, 9(アラビア数字、10種類)および、A - Z(ISO基本ラテンアルファベット[3]、26種類)の合計36種類の文字で数値を表わす。 A - Z は、それぞれ十進法での 10 - 35 を表す。下表の値は Microsoft Excel の BASE 関数の実行結果に準拠する。

0 0 9 9 18 I 27 R
1 1 10 A 19 J 28 S
2 2 11 B 20 K 29 T
3 3 12 C 21 L 30 U
4 4 13 D 22 M 31 V
5 5 14 E 23 N 32 W
6 6 15 F 24 O 33 X
7 7 16 G 25 P 34 Y
8 8 17 H 26 Q 35 Z

右端あるいは小数点で、一の桁を表す。数字の意味する数は、左に一桁ずれると三十六倍になり、右に一桁ずれると三十六分の一になる。(24)36 という表記において、左の「2」は 七十二 を表し、右の「4」は 四 を表し、合わせて 七十六 を表す。

同様に、(M0)36 は 22×361 + 0×360 = 七百九十二 を表し、(B7)36 = 11×361 + 7×360 = 四百三 を表す。

アルファベットI と数字の 1 、およびアルファベットの O と数字の 0 は混同しやすいため、筆記の場合は、斜線付きゼロを使うなど工夫が必要である。また、印字の場合でも、区別が付きにくいフォントの使用を避ける必要がある。

1296で10036となる。

六進表記から三十六進表記への変換

三十六進法は、単に「数字とアルファベットをすべて使った[4]表記法」という以外に、以下の表のとおり、六進法による表記の二桁を一桁で表現できるという特長を有する。

三十六進表記 六進表記 十進表記
(0)36 (0)6 (0)10
(1)36 (1)6 (1)10
(2)36 (2)6 (2)10
(3)36 (3)6 (3)10
(4)36 (4)6 (4)10
(5)36 (5)6 (5)10
(6)36 (10)6 (6)10
(7)36 (11)6 (7)10
(8)36 (12)6 (8)10
(9)36 (13)6 (9)10
(A)36 (14)6 (10)10
(B)36 (15)6 (11)10
(C)36 (20)6 (12)10
(D)36 (21)6 (13)10
(E)36 (22)6 (14)10
(F)36 (23)6 (15)10
(G)36 (24)6 (16)10
(H)36 (25)6 (17)10
(I)36 (30)6 (18)10
(J)36 (31)6 (19)10
(K)36 (32)6 (20)10
(L)36 (33)6 (21)10
(M)36 (34)6 (22)10
(N)36 (35)6 (23)10
(O)36 (40)6 (24)10
(P)36 (41)6 (25)10
(Q)36 (42)6 (26)10
(R)36 (43)6 (27)10
(S)36 (44)6 (28)10
(T)36 (45)6 (29)10
(U)36 (50)6 (30)10
(V)36 (51)6 (31)10
(W)36 (52)6 (32)10
(X)36 (53)6 (33)10
(Y)36 (54)6 (34)10
(Z)36 (55)6 (35)10

六進表記から三十六進表記に変換する方法を、以下に示す。

整数部分

  1. 六進表記を右から順に二桁ずつ区切る。最後(最左部分)が二桁未満のときは、空いた部分(左側)には全て0があるとみなす。
    • (34152)6 → (3, 41, 52)6 → (03, 41, 52)6
  2. 各部分を三十六進表記に変換する。
    • (03)6 = (3)36 , (41)6 = (P)36 , (52)6 = (W)36
  3. 得られた三十六進表記を並べて (3PW)36 が得られる。

この方法は桁数に拘らず通用する。例えば、(502145010321413)6 は (05, 02, 14, 50, 10, 32, 14, 13)6 であるから、(52AU6KA9)36 となる。

小数部分

小数部分の変換方法は、次のとおり。

  1. 六進表記を小数点を基準にして左から順に二桁ずつ区切る。最後(最右部分)が二桁未満のときは、空いた部分(右側)には全て0があるとみなす。
    • (0.1203512)6 → (0., 12, 03, 51, 2)6 → (0., 12, 03, 51, 20)6
  2. 各部分を三十六進表記に変換する。
    • (12)6 = (8)36 , (03)6 = (3)36 , (51)6 = (V)36 , (20)6 = (C)36
  3. 得られた三十六進表記を並べて (0.83VC)36 が得られる。

したがって、(34152.1203512)6 = (3PW.83VC)36 である。この方法は桁数に関わらず通用する。

関連項目

脚注

  1. ^ BASE関数”. マイクロソフト. 2021年4月11日閲覧。
  2. ^ numpy.base_repr”. NumPy Developers.. 2021年4月11日閲覧。
  3. ^ いわゆる「アルファベット
  4. ^ アルファベットの大文字小文字は区別しないものとする。

外部リンク

Read more information:

Croatian singer (born 1980) Martina MajerleBackground informationBorn (1980-05-02) 2 May 1980 (age 43)Rijeka, SR Croatia, SFR YugoslaviaGenresPopOccupation(s)SingerInstrument(s)VocalsYears active1997 - presentLabelsMajerle MusicMember ofQuartissimo ∙ AtmosphericMusical artist Martina Majerle (born 2 May 1980) is a Croatian singer of mixed Croatian and Slovenian descent.[1] Majerle represented Slovenia at the Eurovision Song Contest 2009 in Moscow, Russia with the string quartet Qu…

Artikel ini bukan mengenai Annette Olson. Anette OlzonOlzon performing with Nightwish in 2009Informasi latar belakangNama lahirAnette Ingegerd Olsson[1]Lahir21 Juni 1971 (umur 52)Katrineholm, SwedenGenreAlternative rock, folk rock, hard rock, melodic rock, classic rock, symphonic rock, symphonic metal, power metal, doom metalPekerjaanpenyanyiTahun aktif1988–sekarangArtis terkaitNightwish, Alyson Avenue, Pain, Michael Bormann, Brother Firetribe, The Rasmus, Sweden United, Swallow t…

First JourneyAlbum studio karya DhisaDirilis2011Genrejazz, popLabelAquarius MusikindoKronologi Dhisa -String Module Error: Match not foundString Module Error: Match not found First Journey (2011) -String Module Error: Match not foundString Module Error: Match not found First Journey merupakan album solo perdana Dhisa yang dirilis tahun 2011. Lagu jagoannya adalah Cintaku Kamu ciptaan Yovie Widianto, dan Aku Masih Jomblo. Daftar lagu Ada-ada Saja Lewat Temanku Aku Masih Jomblo Di Hatiku Cuma …

زراعة الكبد معلومات عامة الاختصاص طب الكبد  من أنواع زراعة الأعضاء  [لغات أخرى]‏،  وزرع الطعم الخيفي  تعديل مصدري - تعديل   زراعة الكبد هي عملية جراحية لنقل جزء من كبد إنسان سليم أو متوفي حديث الوفاة لمريض فشل كبدي، حدثت أول عملية زراعة كبد عند الإنسان عام 1983.&…

Abdulmohsen Hamad Al-BassamLahir12 Desember 1948 (umur 74)Unayzah, Arab SaudiKebangsaanArab SaudiPekerjaanPilot tempur Angkatan Udara Kerajaan Arab SaudiKarier luar angkasaAstronautPangkatJenderal Angkatan Udara Kerajaan Arab SaudiSeleksiApril 1985 Abdulmohsen Hamad Al-Bassam (lahir 12 Desember 1948) adalah seorang pensiunan perwira dalam Angkatan Udara Kerajaan Arab Saudi dan mantan antariksawan. Ia adalah spesialis daya angkut untuk Sultan bin Salman bin Abdulaziz Al Saud pada STS-51-G. P…

New Zealand academic and politician Nigel Haworth35th President of the Labour PartyIn office27 February 2015 – 11 September 2019Vice PresidentGinny AndersenBeth HoustonTracey McLellanLeaderAndrew LittleJacinda ArdernPreceded byMoira CoatsworthSucceeded byClaire Szabó Personal detailsBornNigel Anthony Fell Haworth1951 (age 71–72)WalesPolitical partyLabourAlma materUniversity of LiverpoolScientific careerFieldsEconomicsLatin American studiesInternational labour marketIn…

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (ديسمبر 2018) اضغط هنا للاطلاع على كيفية قراءة التصنيف الفصة ثانوية الأزهار بذور الفصة ثانوية الأزهار حالة الحفظ   أنواع غير مهددة أو خطر انقراض ضعيف جدا[1] المرتبة ا…

For the Central American city, see Paso Canoas. City in South, BrazilCanoas, Rio Grande do SulcityModel of F-8 Gloster Meteor plane display in Santos Dumont Park (Praca Santos Dumont) FlagSealLocation in Rio Grande do Sul, BrazilCanoas, Rio Grande do SulLocation in BrazilCoordinates: 29°55′12″S 51°10′48″W / 29.92000°S 51.18000°W / -29.92000; -51.18000CountryBrazilRegionSouthStateRio Grande do SulEstablishedJune 27, 1939Government • MayorJairo Jorge…

SmileAlbum studio karya Ani LorakDirilis2005GenrePopBahasaUkraina, InggrisLabelLavina MusicKronologi Ani Lorak Ani Lorak(2004)Ani Lorak2004 Smile(2005) Розкажи...(2006)Розкажи...2006 Singel dalam album Smile A little shot of loveDirilis: 2005 Car SongDirilis: 2005 SmileDirilis: 2005 Smile adalah album studio ke-8 karya penyanyi Ukraina Ani Lorak. Album ini dirilis pada tahun 2005 oleh Lavina Music. Daftar lagu Right away Smile A little shot of love Car song To be on top Don't t…

2017 Chinese filmThe Mysterious FamilyTheatrical release posterDirected byPark Yu-hwanWritten byPark Yu-hwanProduced byPan ShulingStarringAriel LinJiang WuKara HuiChen XiaoLan Cheng-lungProductioncompanyHengye PicturesDistributed byHengye PicturesRelease date April 21, 2017 (2017-04-21) Running time92 minutesCountryChinaLanguageMandarinBox officeUS$2.2 million (China)[1][2]NT$9.9 million (Taiwan)[3] The Mysterious Family (Chinese: 神秘家族; also kno…

Họa phẩm nổi thất vọng của một người phụ nữ Các cung bậc củaCảm xúc Ở động vật Trí tuệ xúc cảm Tâm trạng Các cảm xúc Bất an Buồn Chán Cô đơn Đam mê Đau khổ Đồng cảm Ganh tị Ghen tuông Ghê tởm Hạnh phúc Hối hận Hối tiếc Hy vọng Khinh thường Khó chịu Khoái lạc Lãnh đạm Lo âu Lo lắng Ngạc nhiên Nghi ngờ Ngượng ngùng Nhút nhát Oán giận Hài lòng Hưng phấn Sợ hãi Thất bại Th…

Swedish politician Göran HägglundHägglund in 2014Leader of the Christian DemocratsIn office3 April 2004 – 25 April 2015DeputyMaria LarssonPreceded byAlf SvenssonSucceeded byEbba BuschMinister for Social AffairsIn office6 October 2006 – 3 October 2014Prime MinisterFredrik ReinfeldtPreceded byBerit AndnorSucceeded byGabriel WikströmMember of the RiksdagIn office30 September 1991 – 25 April 2015ConstituencyHalland CountyFather of the HouseIn office1 January 2015…

American diplomat and lawyer J. Christopher StevensOfficial portrait, 201210th United States Ambassador to LibyaIn officeJune 7, 2012 – September 11, 2012PresidentBarack ObamaPreceded byGene CretzSucceeded byLaurence Pope(as Chargé d'affaires)[1] Personal detailsBornJohn Christopher Stevens(1960-04-18)April 18, 1960Grass Valley, California, U.S.DiedSeptember 11, 2012(2012-09-11) (aged 52)Benghazi, LibyaCause of deathAssassinated during 2012 Benghazi attackPolit…

Movie theater in Bangladesh Modhuban Cineplexমধুবন সিনেপ্লেক্সFormer namesModhuban (1974–2017)AddressChandan Baisha Road, West Naruli, CheloparaBograBangladeshCoordinates24°51′02″N 89°22′44″E / 24.8506783°N 89.3789218°E / 24.8506783; 89.3789218TypeMovie theaterCapacity340Screens1ConstructionOpened10 October 1974 (1974-10-10)Renovated15 October 2021 (2021-10-15) Modhuban Cineplex is a movie theater…

Part of the centre Curtin Immigration Detention Centre is an Australian immigration detention facility in the Kimberley in Western Australia at 17°36'14.58S 123°49'14.28E. Curtin was described by former Immigration minister, Philip Ruddock, as the country's most primitive processing centre. It was shut down by the Howard government following a riot in 2002 but was re-opened in 2010 by its successor - the Rudd-Gillard government. Being run by Serco Asia Pacific who also run Villawood and other …

Comic-book series Gotham CentralCover of Gotham Central #1, art by Michael Lark.Publication informationPublisherDC ComicsScheduleMonthlyGenre Crime Police procedural Superhero Publication dateDecember 2002 – April 2006No. of issues40Main character(s)Gotham City Police DepartmentCreative teamCreated byGreg Rucka, Ed Brubaker, Michael LarkCollected editionsIn the Line of DutyISBN 1-4012-0199-7Half a LifeISBN 1401204384Unresolved TargetsISBN 1563899957The Quick and the DeadISBN…

Voorgevel van de Gasthuiskapel De oude gasthuiskapel (1655) De neogotische Gasthuiskapel is de voormalige kapel van het vroegere Sint-Elisabethgasthuis in de Belgische stad Aarschot. De kapel werd ingewijd op 25 juli 1905. De laatste misviering werd gehouden op 4 november 1990. Vanaf 1996 werden herstellingswerken uitgevoerd en op 28 mei 1999 werd de gewezen kapel officieel geopend als multifunctionele ruimte voor podiumkunsten, tentoonstellingen en voordrachten. De kapel behoort bij het Cultuur…

Major League Wrestling event Fury Road (2023)Promotional poster of the eventPromotionMajor League WrestlingDateSeptember 3, 2023CityPhiladelphia, PennsylvaniaVenue2300 ArenaEvent chronology ← PreviousNever Say Never Next →Slaughterhouse Fury Road chronology ← Previous2022 Next →— Fury Road (2023) was a professional wrestling supercard event produced by Major League Wrestling (MLW) that took place on September 3, 2023, at the 2300 Arena in Philadelphia, Pennsylva…

December 2022 Wikipedia's technical logs indicate that this user account has been or may be used abusively. It has been blocked indefinitely from editing to prevent abuse. Note that multiple accounts are allowed, but not for illegitimate reasons, and any contributions made while evading blocks or bans may be reverted or deleted.If you think there are good reasons why you should be unblocked, you should review the guide to appealing blocks, and then appeal your block by adding the following text …

English theologian and writer on cosmogony (1635–1715) For other people named Thomas Burnet, see Thomas Burnet (disambiguation). Thomas BurnetThomas Burnet by Jacob Ferdinand VoetBornc. 1635Croft-on-Tees, Yorkshire, EnglandDied27 September 1715 (aged c. 80)NationalityEnglishOccupationtheologian Thomas Burnet (c. 1635? – 27 September 1715[1][2]) was an English theologian and writer on cosmogony. Life He was born at Croft near Darlington in 1635. After studying at Northallerton…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 52.91.255.225