{"text_format":"1","workbook":"xlsx","n_sheets":3,"sheets":["Staircase","必勝の取り方","NIM和"],"not_rendered":{"charts":0,"images":0,"macros":1,"external_links":0,"defined_names":0,"comments":1,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Staircase","index":0,"n_rows":49,"n_cols":16,"rows_kept":49,"cut":false,"hidden":false,"merged":[[2,13,2,14]]}
["Staircase Nim"]
[null,null,null,null,null,null,null,null,"\nstep 7"]
[null,null,null,null,null,null,null,"\nstep 6",0,null,null,null,null,"配布枚数の最大値",null,3]
[null,null,null,null,null,null,"\nstep 5",2]
[null,null,null,null,null,"\nstep 4",3]
[null,null,null,null,"\nstep 3",2]
[null,null,null,"\nstep 2",2]
[null,null,"\nstep 1",1]
[null,"step 0",1]
[]
[null,"↑ここにすべてのコインを移動できた方の勝ち"]
[]
[]
[]
[]
[]
[]
[]
[]
[null,{"$f":"P3","v":3},{"$f":"RANDBETWEEN(0,$B$20)","v":1},{"$f":"RANDBETWEEN(0,$B$20)","v":0},2,2,1,3,3]
[null,"配布する\nコインの最大値","乱数","乱数","乱数","乱数","乱数","乱数","乱数"]
[]
["移動可能枚数",28,{"$f":"IF($B23<=C$9,$B23,\"\")","v":""},{"$f":"IF($B23<=D$8,$B23,\"\")","v":""},{"$f":"IF($B23<=E$7,$B23,\"\")","v":""},{"$f":"IF($B23<=F$6,$B23,\"\")","v":""},{"$f":"IF($B23<=G$5,$B23,\"\")","v":""},{"$f":"IF($B23<=H$4,$B23,\"\")","v":""},{"$f":"IF($B23<=I$3,$B23,\"\")","v":""}]
[null,27,"","","","","","",""]
[null,26,"","","","","","",""]
[null,25,"","","","","","",""]
[null,24,"","","","","","",""]
[null,23,"","","","","","",""]
[null,22,"","","","","","",""]
[null,21,"","","","","","",""]
[null,20,"","","","","","",""]
[null,19,"","","","","","",""]
[null,18,"","","","","","",""]
[null,17,"","","","","","",""]
[null,15,"","","","","","",""]
[null,14,"","","","","","",""]
[null,13,"","","","","","",""]
[null,12,"","","","","","",""]
[null,11,"","","","","","",""]
[null,10,"","","","","","",""]
[null,9,"","","","","","",""]
[null,8,"","","","","","",""]
[null,7,"","","","","","",""]
[null,6,"","","","","","",""]
[null,5,"","","","","","",""]
[null,4,"","","","","","",""]
[null,3,"","","","",3,"",""]
[null,2,{"$f":"IF($B48<=C$9,$B48,\"\")","v":""},{"$f":"IF($B48<=D$8,$B48,\"\")","v":""},{"$f":"IF($B48<=E$7,$B48,\"\")","v":2},{"$f":"IF($B48<=F$6,$B48,\"\")","v":2},{"$f":"IF($B48<=G$5,$B48,\"\")","v":2},{"$f":"IF($B48<=H$4,$B48,\"\")","v":2},{"$f":"IF($B48<=I$3,$B48,\"\")","v":""}]
[null,1,{"$f":"IF($B49<=C$9,$B49,\"\")","v":1},{"$f":"IF($B49<=D$8,$B49,\"\")","v":1},{"$f":"IF($B49<=E$7,$B49,\"\")","v":1},{"$f":"IF($B49<=F$6,$B49,\"\")","v":1},{"$f":"IF($B49<=G$5,$B49,\"\")","v":1},{"$f":"IF($B49<=H$4,$B49,\"\")","v":1},{"$f":"IF($B49<=I$3,$B49,\"\")","v":""}]

{"sheet":"必勝の取り方","index":1,"n_rows":9,"n_cols":3,"rows_kept":9,"cut":false,"hidden":false,"merged":[]}
[]
[null,"移動させる段","移動させる枚数"]
[null,{"$f":"IF(NIM和!O41>0,NIM和!C5,\"\")","v":0},{"$f":"IF(NIM和!O41=\"\",\"手はありません（負ける）\",IF(ISERROR(B3-NIM和!O41),\"\",NIM和!O41))","v":"手はありません（負ける）"}]
[null,{"$f":"IF(NIM和!O42>0,NIM和!C6,\"\")","v":0},{"$f":"IF(NIM和!O42=\"\",\"手はありません（負ける）\",IF(ISERROR(B4-NIM和!O42),\"\",NIM和!O42))","v":"手はありません（負ける）"}]
[null,{"$f":"IF(NIM和!O43>0,NIM和!C7,\"\")","v":0},{"$f":"IF(NIM和!O43=\"\",\"手はありません（負ける）\",IF(ISERROR(B5-NIM和!O43),\"\",NIM和!O43))","v":"手はありません（負ける）"}]
[null,{"$f":"IF(NIM和!O44>0,NIM和!C8,\"\")","v":7},{"$f":"IF(NIM和!O44=\"\",\"手はありません（負ける）\",IF(ISERROR(B6-NIM和!O44),\"\",NIM和!O44))","v":"手はありません（負ける）"}]
[null,{"$f":"IF(NIM和!O45>0,NIM和!C9,\"\")","v":5},{"$f":"IF(NIM和!O45=\"\",\"手はありません（負ける）\",IF(ISERROR(B7-NIM和!O45),\"\",NIM和!O45))","v":"手はありません（負ける）"}]
[null,{"$f":"IF(NIM和!O46>0,NIM和!C10,\"\")","v":3},{"$f":"IF(NIM和!O46=\"\",\"手はありません（負ける）\",IF(ISERROR(B8-NIM和!O46),\"\",NIM和!O46))","v":"手はありません（負ける）"}]
[null,{"$f":"IF(NIM和!O47>0,NIM和!C11,\"\")","v":1},{"$f":"IF(NIM和!O47=\"\",\"手はありません（負ける）\",IF(ISERROR(B9-NIM和!O47),\"\",NIM和!O47))","v":"手はありません（負ける）"}]

{"sheet":"NIM和","index":2,"n_rows":47,"n_cols":15,"rows_kept":47,"cut":false,"hidden":true,"merged":[]}
["NIM和の計算シート"]
[]
[]
[null,null,"STEPNo","石の合計",null,128,64,32,16,8,4,2,1]
[null,null,null,null,null,{"$f":"($D5-MOD($D5,F$4))/F$4","v":0},{"$f":"($D5-F$4*F5-MOD($D5,G$4))/G$4","v":0},{"$f":"($D5-F$4*$F5-G$4*G5-MOD($D5,H$4))/H$4","v":0},{"$f":"($D5-F$4*$F5-G$4*$G5-H$4*H5-MOD($D5,I$4))/I$4","v":0},{"$f":"($D5-F$4*$F5-G$4*$G5-H$4*$H5-I$4*I5-MOD($D5,J$4))/J$4","v":0},{"$f":"($D5-F$4*$F5-G$4*$G5-H$4*$H5-I$4*I5-J$4*J5-MOD($D5,K$4))/K$4","v":0},{"$f":"($D5-F$4*$F5-G$4*$G5-H$4*$H5-I$4*I5-J$4*J5-K$4*K5-MOD($D5,L$4))/L$4","v":0},{"$f":"($D5-F$4*$F5-G$4*$G5-H$4*$H5-I$4*I5-J$4*J5-K$4*K5-L$4*L5-MOD($D5,M$4))/M$4","v":0}]
[null,null,null,null,null,0,0,0,0,0,0,0,0]
[null,null,null,null,null,0,0,0,0,0,0,0,0]
[null,null,7,{"$f":"Staircase!I3","v":0},null,0,0,0,0,0,0,0,0]
[null,null,5,{"$f":"Staircase!G5","v":3},null,0,0,0,0,0,0,1,1]
[null,null,3,{"$f":"Staircase!E7","v":2},null,0,0,0,0,0,0,1,0]
[null,null,1,{"$f":"Staircase!C9","v":1},null,0,0,0,0,0,0,0,1]
[]
[null,null,"NIM和",{"$f":"F4*F13+G4*G13+H4*H13+I4*I13+J4*J13+K4*K13+L4*L13+M4*M13","v":0},null,{"$f":"MOD(SUM(F5:F11),2)","v":0},0,0,0,0,0,0,0]
[]
[]
[]
[null,null,null,"1の個数判定",null,{"$f":"MOD(COUNTIF(F5:F11,1),2)","v":0},{"$f":"MOD(COUNTIF(G5:G11,1),2)","v":0},0,0,0,0,0,0]
[null,null,null,"1が奇数個ある最大位検索準備",null,{"$f":"F4*F17","v":0},{"$f":"G4*G17","v":0},0,0,0,0,0,0]
[null,null,null,"1が奇数個ある最大位",null,{"$f":"MAX(F18:M18)","v":0}]
[null,null,null,"1が奇数個ある最大位検索",null,{"$f":"IF($F19=0,\"\",IF(F18=$F$19,1,0))","v":""},{"$f":"IF($F19=0,\"\",IF(G18=$F$19,1,0))","v":""},"","","","","",""]
[]
[null,null,null,"取去る山の候補の検索","STEPNo",null,null,null,null,null,null,null,null,"和（取去る山の候補に1）"]
[null,null,null,null,null,{"$f":"F$20*F5","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$f":"SUM(F23:M23)","v":{"$error":"#VALUE!"}}]
[null,null,null,null,null,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$f":"SUM(F24:M24)","v":{"$error":"#VALUE!"}}]
[null,null,null,null,null,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"}]
[null,null,null,null,7,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"}]
[null,null,null,null,5,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"}]
[null,null,null,null,3,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"}]
[null,null,null,null,1,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"}]
[]
[null,null,null,"取り方の計算1","STEPNo"]
[null,null,null,"符号の決定",null,{"$f":"IF(F$13=1,IF(F5=1,1,-1),0)","v":0},0,0,0,0,0,0,0]
[null,null,null,null,null,0,0,0,0,0,0,0,0]
[null,null,null,null,null,0,0,0,0,0,0,0,0]
[null,null,null,null,7,0,0,0,0,0,0,0,0]
[null,null,null,null,5,0,0,0,0,0,0,0,0]
[null,null,null,null,3,0,0,0,0,0,0,0,0]
[null,null,null,null,1,0,0,0,0,0,{"$f":"IF(K$13=1,IF(K11=1,1,-1),0)","v":0},0,0]
[]
[null,null,null,"取り方の計算1","STEPNo",null,null,null,null,null,null,null,null,"和（取去る山の候補に1）","取る石の合計"]
[null,null,null,"重みつき",null,{"$f":"IF($N41=1,F32*F$4,0)","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$f":"N23","v":{"$error":"#VALUE!"}},{"$f":"IF(ISERROR(SUM(F41:M41)),\"\",SUM(F41:M41))","v":""}]
[null,null,null,null,null,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$f":"IF(ISERROR(SUM(F42:M42)),\"\",SUM(F42:M42))","v":""}]
[null,null,null,null,null,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},""]
[null,null,null,null,7,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},""]
[null,null,null,null,5,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},""]
[null,null,null,null,3,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},""]
[null,null,null,null,1,{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$error":"#VALUE!"},{"$f":"IF($N47=1,M38*M$4,0)","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},""]