2024年の年賀状
あけましておめでとうございます.2024年の年賀状です.
答えが0から101までになる式をプログラムで探した結果を以下に示します. すべての式を示しているわけではなく,プログラムで最初に見つかったものだけを示しています.
答えが57, 69, 75, 93, 94, 95, 97, 98になる式は存在しないようです.
-
(2*(0*2411)) = 0
-
(2+(0+(2-(4-(1*1))))) = 1
-
(2+(0*2411)) = 2
-
(2-(0+(2-(4-(1*1))))) = 3
-
(2-(0+(2-(4+(1-1))))) = 4
-
(2-(0+(2-(4+(1*1))))) = 5
-
(2-(0+(2-(4+(1+1))))) = 6
-
(2-(0+(2+(4-11)))) = 7
-
(2*(0-(2-(4+(1+1))))) = 8
-
(2+(0+(2+(4+(1*1))))) = 9
-
(2*(0-(2+(4-11)))) = 10
-
(2+(0+(2-(4-11)))) = 11
-
(2+(0+(2+(4*(1+1))))) = 12
-
(2+(0+((2*(4+1))+1))) = 13
-
(2+(0+(2*(4+(1+1))))) = 14
-
(2-(0+(2-(4+11)))) = 15
-
(2-(0+(2*(4-11)))) = 16
-
(2+((0*2)+(4+11))) = 17
-
(2*(0+(2-(4-11)))) = 18
-
(2+(0+(2+(4+11)))) = 19
-
(2*(0+(2+(4*(1+1))))) = 20
-
(2+(0+((2*4)+11))) = 21
-
(2*(0+((2*(4+1))+1))) = 22
-
((-2)+(0+(24+(1*1)))) = 23
-
(2*(0+(2*(4+(1+1))))) = 24
-
(2+(0+(24-(1*1)))) = 25
-
(2*(0-(2-(4+11)))) = 26
-
(2+(0+(24+(1*1)))) = 27
-
(2*(0-(2*(4-11)))) = 28
-
(20+(2-(4-11))) = 29
-
(2*((0*2)+(4+11))) = 30
-
(20+((2*(4+1))+1)) = 31
-
(2+(0+(2*(4+11)))) = 32
-
((-2)+(0+(24+11))) = 33
-
(2*(0+(2+(4+11)))) = 34
-
((2*0)+(24+11)) = 35
-
((-2)-(0+(2-(41-1)))) = 36
-
(2+(0+(24+11))) = 37
-
(2*(0+((2*4)+11))) = 38
-
((-2)+((0*2)+(41*1))) = 39
-
(2-(0+(2-(41-1)))) = 40
-
(2-(0+(2-(41*1)))) = 41
-
(2-(0+(2-(41+1)))) = 42
-
(2+((0*2)+(41*1))) = 43
-
(2-(0+(2-(4*11)))) = 44
-
(2+(0+(2+(41*1)))) = 45
-
(2+(0+(2+(41+1)))) = 46
-
((20*2)-(4-11)) = 47
-
(2+(0+(2+(4*11)))) = 48
-
((2*024)+(1*1)) = 49
-
(2+(0+(24*(1+1)))) = 50
-
((20*((-2)+4))+11) = 51
-
(2*(0+(24+(1+1)))) = 52
-
(((20-2)*(4-1))-1) = 53
-
((20-2)*(4-(1*1))) = 54
-
(20+(24+11)) = 55
-
((20+(2*4))*(1+1)) = 56
-
(20-(2-(41-1))) = 58
-
(20-(2-(41*1))) = 59
-
(2*(0+(2*(4+11)))) = 60
-
((-20)+((2*41)-1)) = 61
-
(20-(2-(4*11))) = 62
-
(20+(2+(41*1))) = 63
-
((-2)+(0+((2+4)*11))) = 64
-
(((20+2)*(4-1))-1) = 65
-
(20+(2+(4*11))) = 66
-
(((20+2)*(4-1))+1) = 67
-
(2+(0+((2+4)*11))) = 68
-
(2*(0+(24+11))) = 70
-
(((20-2)*4)-(1*1)) = 71
-
((20-2)*(4+(1-1))) = 72
-
(((20-2)*4)+(1*1)) = 73
-
(((20-2)*4)+(1+1)) = 74
-
(2*(0-(2-(41-1)))) = 76
-
(((20+2)*4)-11) = 77
-
(2*(0-(2-(41*1)))) = 78
-
((-2)+(0+((2*41)-1))) = 79
-
(2*(0-(2-(41+1)))) = 80
-
((-2)+(0+((2*41)+1))) = 81
-
(2+(0+(2*(41-1)))) = 82
-
(2+(0+((2*41)-1))) = 83
-
(2*(0-(2-(4*11)))) = 84
-
(2+(0+((2*41)+1))) = 85
-
(2+(0+(2*(41+1)))) = 86
-
(((20+2)*4)-(1*1)) = 87
-
(2*(0+(2+(41+1)))) = 88
-
(((20+2)*4)+(1*1)) = 89
-
(2+(0+(2*(4*11)))) = 90
-
(((20-2)*(4+1))+1) = 91
-
(2*(0+(2+(4*11)))) = 92
-
(2*(0+(24*(1+1)))) = 96
-
(((20+2)*4)+11) = 99
-
(20*(2+(4-(1*1)))) = 100
-
(20+((2*41)-1)) = 101