Zeckendorfã®è¡šçŸãå©çšãããšããã®ä»ã®è¡šãæ¹ãå«ãç·æ°ã®åæ°ãæ±ããèšç®æ¹æ³ã¯è²ã
ãªè³æãèªãäžã§åãã£ãŠèšç®äžçŽãã«
æ±ããããæ段ã¯ããããŸããã
ãšããããã®å®äŸã¯ãšãªããšãäœãšããŒãã±ã³ãã«ãã®ãã£ããããæ°ã䜿ãããéšåã1ã䜿ã£ãŠããªããã®ã¯0ã§è¡šç€ºããŠãããšã
ïŒ7777=>[1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,1]ãšãªããïŒ
æ¬ã§ã®èª¬æã§ã¯ãã®åã§ã®1,0,0ã®éšåã0,1,1ãžå€æŽããã°è¯ããšã®èª¬æãèªãããæ¡ããã£ãšçããã®ãªãäœãšãããã§æ±ãŸããš
äœéšã¯åºæ¥ããã§ããããããèªåã§ããã°ã©ã ããããšãããšäŸãã°ãã®äŸã®ããã«1,0,0 ã®éšåãäœéããããå Žåã1ãæã ãå€æŽ
ã2ãæåæã«å€æŽãããªã©ããããããªæåãããèµ·ãã£ãŠãã£ãŠããŸããã©ã®æ§ã«çµãã§è¡ã£ãŠããã®ãåãããªããªããŸããã
åŸã£ãŠããã£ããããæ°ã®åæ°19ãã5,6,7,8,9,10,11,12ååãåºãåçµåããåã7777ã«ãªããã®ããã§ãã¯ãããšããææ³ããããã
ãã®èšç®æéã¯äœãšåæ¥ä»¥äžãšãã,0.01ç§ã倢ã®ãŸã倢ã®ç¶æ
ã§ããã
ãããããããããã¯ããã°ã©ã çã«ã©ã®ãããªçµè·¯ã§åºåã§ãããã®ãç²ççã§ãè¯ãã®ã§æããŠäžããã
No.149GAI2022幎7æ26æ¥ 20:00
説æããŠããã£ãããã°ã©ã ã®åå²ãåçŸããããšãã£ãŠãããã§ãã
ãã¯ãé£ãããããåçŽã«7777ã®Zeckendorf衚瀺
7777=[1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,1]
ãã¬ããŒã¹ããã
[1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1]
ã«ãããŠ
[0,0,1]ã®éšåãããã°ãããã[1,1,0]ãžå€æŽãããäœæ¥ããã®éœåºŠ
è¡ããæ°ãã«ããããéããéåãäœã£ãŠããããšãç¹°ãè¿ããŠã¿ãŸããã
2ãæ以äžãã£ãŠããåæã«å€åãããããšã¯ããªããŠããããã®å€åã
éããããšã«ããŸããã
ã§ãããã1åç®ã®æäœã§ã¯æ¬¡ããã®éåã«ãªããŸãã
[[1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1],
[ 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1],
[ 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1],
[ 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0]]
2åç®ã¯ãã®éåã«å¯Ÿãåæ§ãªæäœãããããã«è¡ã£ãŠãããããã®éåã«
æ°ãã«è¿œå ããŠãããŸããã
äœãåããã®ãéãªã£ãå Žåã¯ããã¯ãã®éãªãã解æ¶ããæäœãå
¥ããŠãããŸãã
ãããæ°åç¹°ãè¿ããŠããã°ãéãŸã£ãŠããéåã®åæ°ãäžå®ã®æ°ã«åæããŠãã
ãã以äžã¯å¢ããæžããããªããªããŸããã
ãããèŠã€ãããããã®éåã«å¯Ÿããã£ããããæ°ãå²ãæ¯ã£ãŠæ§æã§ããŸããã
äœãæåŸã®æåã0ããããã®ã¯ããã®0ãåãé€ãäœæ¥ãããŠãããŸãã
ãããŸã§ãèªåã§ããããããã°ã©ã ãæºåãããããã£ãšèšãéã«å
šãã£ããããæ°ã®
å解衚çŸã䞊ã°ããããšãã§ããŸããã
ã¡ãªã¿ã«n=123456ã§Zeckendorf衚瀺ã¯ã
[1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,
1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393]
ãŸã§ã䜿ããããã£ããããæ°ãªã®ã§ãæ倧ãªãã£ããããæ°ãæ¡çšããŠãããš(貪欲æ³)
gp > 123456-121393ã(25çªç®ã䜿ã)
%176 = 2063
gp > 2063-1597 (16çªç®ã䜿ã)
%177 = 466
gp > 466-377 (13çªç®ã䜿ã)
%178 = 89 (10çªç®ã䜿ã)
ã䜿ãã°ããããšã«ãªãã®ã§åŸã¯äœ¿ããããã£ããããæ°ãäœåãã§ç€ºãã°ããã®ã§
123456=[1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ããã«ããã°ã©ã ãé©å¿ããã
1; 89 + 377 + 1597 + 121393
2; 89 + 377 + 1597 + 46368 + 75025
3; 89 + 377 + 1597 + 17711 + 28657 + 75025
4; 89 + 377 + 1597 + 6765 + 10946 + 28657 + 75025
5; 89 + 377 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
6; 89 + 377 + 610 + 987 + 121393
7; 89 + 377 + 610 + 987 + 46368 + 75025
8; 89 + 377 + 610 + 987 + 17711 + 28657 + 75025
9; 89 + 377 + 610 + 987 + 6765 + 10946 + 28657 + 75025
10; 89 + 377 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
11; 89 + 144 + 233 + 1597 + 121393
12; 89 + 144 + 233 + 1597 + 46368 + 75025
13; 89 + 144 + 233 + 1597 + 17711 + 28657 + 75025
14; 89 + 144 + 233 + 1597 + 6765 + 10946 + 28657 + 75025
15; 89 + 144 + 233 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
16; 89 + 144 + 233 + 610 + 987 + 121393
17; 89 + 144 + 233 + 610 + 987 + 46368 + 75025
18; 89 + 144 + 233 + 610 + 987 + 17711 + 28657 + 75025
19; 89 + 144 + 233 + 610 + 987 + 6765 + 10946 + 28657 + 75025
20; 89 + 144 + 233 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
21; 34 + 55 + 377 + 1597 + 121393
22; 34 + 55 + 377 + 1597 + 46368 + 75025
23; 34 + 55 + 377 + 1597 + 17711 + 28657 + 75025
24; 34 + 55 + 377 + 1597 + 6765 + 10946 + 28657 + 75025
25; 34 + 55 + 377 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
26; 34 + 55 + 377 + 610 + 987 + 121393
27; 34 + 55 + 377 + 610 + 987 + 46368 + 75025
28; 34 + 55 + 377 + 610 + 987 + 17711 + 28657 + 75025
29; 34 + 55 + 377 + 610 + 987 + 6765 + 10946 + 28657 + 75025
30; 34 + 55 + 377 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
31; 34 + 55 + 144 + 233 + 1597 + 121393
32; 34 + 55 + 144 + 233 + 1597 + 46368 + 75025
33; 34 + 55 + 144 + 233 + 1597 + 17711 + 28657 + 75025
34; 34 + 55 + 144 + 233 + 1597 + 6765 + 10946 + 28657 + 75025
35; 34 + 55 + 144 + 233 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
36; 34 + 55 + 144 + 233 + 610 + 987 + 121393
37; 34 + 55 + 144 + 233 + 610 + 987 + 46368 + 75025
38; 34 + 55 + 144 + 233 + 610 + 987 + 17711 + 28657 + 75025
39; 34 + 55 + 144 + 233 + 610 + 987 + 6765 + 10946 + 28657 + 75025
40; 34 + 55 + 144 + 233 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
41; 13 + 21 + 55 + 377 + 1597 + 121393
42; 13 + 21 + 55 + 377 + 1597 + 46368 + 75025
43; 13 + 21 + 55 + 377 + 1597 + 17711 + 28657 + 75025
44; 13 + 21 + 55 + 377 + 1597 + 6765 + 10946 + 28657 + 75025
45; 13 + 21 + 55 + 377 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
46; 13 + 21 + 55 + 377 + 610 + 987 + 121393
47; 13 + 21 + 55 + 377 + 610 + 987 + 46368 + 75025
48; 13 + 21 + 55 + 377 + 610 + 987 + 17711 + 28657 + 75025
49; 13 + 21 + 55 + 377 + 610 + 987 + 6765 + 10946 + 28657 + 75025
50; 13 + 21 + 55 + 377 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
51; 13 + 21 + 55 + 144 + 233 + 1597 + 121393
52; 13 + 21 + 55 + 144 + 233 + 1597 + 46368 + 75025
53; 13 + 21 + 55 + 144 + 233 + 1597 + 17711 + 28657 + 75025
54; 13 + 21 + 55 + 144 + 233 + 1597 + 6765 + 10946 + 28657 + 75025
55; 13 + 21 + 55 + 144 + 233 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
56; 13 + 21 + 55 + 144 + 233 + 610 + 987 + 121393
57; 13 + 21 + 55 + 144 + 233 + 610 + 987 + 46368 + 75025
58; 13 + 21 + 55 + 144 + 233 + 610 + 987 + 17711 + 28657 + 75025
59; 13 + 21 + 55 + 144 + 233 + 610 + 987 + 6765 + 10946 + 28657 + 75025
60; 13 + 21 + 55 + 144 + 233 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
61; 5 + 8 + 21 + 55 + 377 + 1597 + 121393
62; 5 + 8 + 21 + 55 + 377 + 1597 + 46368 + 75025
63; 5 + 8 + 21 + 55 + 377 + 1597 + 17711 + 28657 + 75025
64; 5 + 8 + 21 + 55 + 377 + 1597 + 6765 + 10946 + 28657 + 75025
65; 5 + 8 + 21 + 55 + 377 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
66; 5 + 8 + 21 + 55 + 377 + 610 + 987 + 121393
67; 5 + 8 + 21 + 55 + 377 + 610 + 987 + 46368 + 75025
68; 5 + 8 + 21 + 55 + 377 + 610 + 987 + 17711 + 28657 + 75025
69; 5 + 8 + 21 + 55 + 377 + 610 + 987 + 6765 + 10946 + 28657 + 75025
70; 5 + 8 + 21 + 55 + 377 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
71; 5 + 8 + 21 + 55 + 144 + 233 + 1597 + 121393
72; 5 + 8 + 21 + 55 + 144 + 233 + 1597 + 46368 + 75025
73; 5 + 8 + 21 + 55 + 144 + 233 + 1597 + 17711 + 28657 + 75025
74; 5 + 8 + 21 + 55 + 144 + 233 + 1597 + 6765 + 10946 + 28657 + 75025
75; 5 + 8 + 21 + 55 + 144 + 233 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
76; 5 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 121393
77; 5 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 46368 + 75025
78; 5 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 17711 + 28657 + 75025
79; 5 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 6765 + 10946 + 28657 + 75025
80; 5 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
81; 2 + 3 + 8 + 21 + 55 + 377 + 1597 + 121393
82; 2 + 3 + 8 + 21 + 55 + 377 + 1597 + 46368 + 75025
83; 2 + 3 + 8 + 21 + 55 + 377 + 1597 + 17711 + 28657 + 75025
84; 2 + 3 + 8 + 21 + 55 + 377 + 1597 + 6765 + 10946 + 28657 + 75025
85; 2 + 3 + 8 + 21 + 55 + 377 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
86; 2 + 3 + 8 + 21 + 55 + 377 + 610 + 987 + 121393
87; 2 + 3 + 8 + 21 + 55 + 377 + 610 + 987 + 46368 + 75025
88; 2 + 3 + 8 + 21 + 55 + 377 + 610 + 987 + 17711 + 28657 + 75025
89; 2 + 3 + 8 + 21 + 55 + 377 + 610 + 987 + 6765 + 10946 + 28657 + 75025
90; 2 + 3 + 8 + 21 + 55 + 377 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
91; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 1597 + 121393
92; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 1597 + 46368 + 75025
93; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 1597 + 17711 + 28657 + 75025
94; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 1597 + 6765 + 10946 + 28657 + 75025
95; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 1597 + 2584 + 4181 + 10946 + 28657 + 75025
96; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 121393
97; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 46368 + 75025
98; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 17711 + 28657 + 75025
99; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 6765 + 10946 + 28657 + 75025
100; 2 + 3 + 8 + 21 + 55 + 144 + 233 + 610 + 987 + 2584 + 4181 + 10946 + 28657 + 75025
ãšäžæ°ã«å
šéšã®ãã£ããããæ°ã§ã®åã«å解ããŠãããŸããã
ïŒåŸæ¥ã®æ¹æ³ã§ã¯3æ¥ã¯èšç®ã«èŠããæéããããããã§ããïŒ
ãŸãå
šéšã§100åã®æ¹æ³ãããããšã¯ã次ã®èšç®æ¹æ³ã§æ±ãŸãããã§ãã
123456=[1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ã®Zeckendorf衚瀺ãããããã0ãç¶ãæ°ã10ã®ææ°ã«æ¡çšããŠ
10^8*10^2*10^2*10^9
ãšè¡šã
äžè¬ã«10^dã次ã®2Ã2è¡åM(d)=[1 1]
[floor(d/2) ceil(d/2)] (floor;åºé¢æ°ãceil;倩äºé¢æ°)
ããã«ããäžèšã®æ°ã¯
M(8)*M(2)*M(2)*M(9)
= [1 1]*[1 1]^2*[1 1]
[4 4] [1 1] [4 5]
=[20 24]
[80 96]
æåŸã«ãã®è¡åã[1 1],[1 0]~ã§æã¿
[1 1]*[20 24]*[1]=[100]
[80 96] [0]
ãªãè¡åèšç®ã§åŠçã§ãããšãããïŒãããããªæ¹æ³ãç·šã¿åºããªïœïŒ
No.151GAI2022幎7æ28æ¥ 05:53