Seven Sevens to Seventy

Algebra Level 3

Using only multiplication, division, addition, subtraction, and parentheses (and no logarithms or exponents or any other kind of operation), is it possible to express each of the first seventy positive integers with exactly seven sevens? (You may use two sevens to make 77 but otherwise concatenation is not allowed.)

Yes No

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

David Vreken
Jul 31, 2019

One strategy is to first express the number's closest multiple of seven with the least sevens, then add or subtract the difference with the least sevens, and use the remaining sevens to add zero (or put them in the expression without changing the value). For example, for 16 16 , the closest multiple of seven is 14 14 , which is 7 + 7 7 + 7 , the difference between 16 16 and 14 14 is 2 2 , which is 7 + 7 7 \frac{7 + 7}{7} , which leaves two sevens leftover, which can make zero by 7 7 7 - 7 , so that 16 = 7 + 7 + 7 + 7 7 + ( 7 7 ) 16 = 7 + 7 + \frac{7 + 7}{7} + (7 - 7) .

Unfortunately the numbers 25 25 , 31 31 , 32 32 , 38 38 , 60 60 , and 66 66 need more than seven sevens for this strategy, but using a little bit of creativity a result can still be found.

Here is a list of the first 100 100 positive integers expressed with seven sevens:

1 1 7 7 + ( 7 7 ) 7 7 7 \frac{7}{7} + (7 - 7) \cdot 7 \cdot 7 \cdot 7 26 26 7 + 7 + 7 + 7 7 + 7 7 7 + 7 + 7 + 7 - \frac{7 + 7}{7} 51 51 7 7 + 7 + 7 7 + ( 7 7 ) 7 \cdot 7 + \frac{7 + 7}{7} + (7 - 7) 76 76 77 7 7 + ( 7 7 ) 7 77 - \frac{7}{7} + (7 - 7) \cdot 7
2 2 7 + 7 7 + ( 7 7 ) 7 7 \frac{7 + 7}{7} + (7 - 7) \cdot 7 \cdot 7 27 27 7 7 7 7 7 7 7 7 \cdot 7 - 7 - 7 - 7 - \frac{7}{7} 52 52 7 7 + 7 + 7 7 + 7 7 7 \cdot 7 + \frac{7 + 7}{7} + \frac{7}{7} 77 77 77 + ( 7 7 ) 7 7 7 77 +(7 - 7) \cdot 7 \cdot 7 \cdot 7
3 3 7 + 7 + 7 7 + ( 7 7 ) 7 \frac{7 + 7 + 7}{7} + (7 - 7) \cdot 7 28 28 7 + 7 + 7 + 7 + ( 7 7 ) 7 7 + 7 + 7 + 7 + (7 - 7) \cdot 7 53 53 7 7 + 7 + 7 + 7 + 7 7 7 \cdot 7 + \frac{7 + 7 + 7 + 7}{7} 78 78 77 + 7 7 + ( 7 7 ) 7 77 + \frac{7}{7} + (7 - 7) \cdot 7
4 4 7 + 7 + 7 + 7 7 + ( 7 7 ) \frac{7 + 7 + 7 + 7}{7} + (7 - 7) 29 29 7 7 7 7 7 + 7 7 7 \cdot 7 - 7 - 7 - 7 + \frac{7}{7} 54 54 7 7 + 7 7 7 7 7 7 \cdot 7 + 7 - \frac{7}{7} - \frac{7}{7} 79 79 77 + 7 + 7 7 + ( 7 7 ) 77 + \frac{7 + 7}{7} + (7 - 7)
5 5 7 7 + 7 7 + ( 7 7 ) 7 7 - \frac{7 + 7}{7} + (7 - 7) \cdot 7 30 30 7 + 7 + 7 + 7 + 7 + 7 7 7 + 7 + 7 + 7 + \frac{7 + 7}{7} 55 55 7 7 + 7 7 7 + ( 7 7 ) 7 \cdot 7 + 7 - \frac{7}{7} + (7 - 7) 80 80 77 + 7 + 7 7 + 7 7 77 + \frac{7 + 7}{7} + \frac{7}{7}
6 6 7 7 7 + ( 7 7 ) 7 7 7 - \frac{7}{7} + (7 - 7) \cdot 7 \cdot 7 31 31 7 77 7 7 + 7 7 \frac{7 \cdot 77 - 7}{7 + 7} - 7 56 56 7 7 + 7 + ( 7 7 ) 7 7 7 \cdot 7 + 7 + (7 - 7) \cdot 7 \cdot 7 81 81 77 + 7 7 + 7 + 7 7 77 + 7 - \frac{7 + 7 + 7}{7}
7 7 7 + ( 7 7 ) 7 7 7 7 7 + (7 - 7) \cdot 7 \cdot 7 \cdot 7 \cdot 7 32 32 7 7 7 + 7 7 + 7 + 7 \frac{7 \cdot 7 \cdot 7 + 7}{7 + 7} + 7 57 57 7 7 + 7 + 7 7 + ( 7 7 ) 7 \cdot 7 + 7 + \frac{7}{7} + (7 - 7) 82 82 77 + 7 7 7 7 7 77 + 7 - \frac{7}{7} - \frac{7}{7}
8 8 7 + 7 7 + ( 7 7 ) 7 7 7 + \frac{7}{7} + (7 - 7) \cdot 7 \cdot 7 33 33 7 7 7 7 7 + 7 7 7 \cdot 7 - 7 - 7 - \frac{7 + 7}{7} 58 58 7 7 + 7 + 7 7 + 7 7 7 \cdot 7 + 7 + \frac{7}{7} + \frac{7}{7} 83 83 77 + 7 7 7 + ( 7 7 ) 77 + 7 - \frac{7}{7} + (7 - 7)
9 9 7 + 7 + 7 7 + ( 7 7 ) 7 7 + \frac{7 + 7}{7} + (7 - 7) \cdot 7 34 34 7 + 7 + 7 + 7 + 7 7 7 7 + 7 + 7 + 7 + 7 - \frac{7}{7} 59 59 7 7 + 7 + 7 + 7 + 7 7 7 \cdot 7 + 7 + \frac{7 + 7 + 7}{7} 84 84 77 + 7 + ( 7 7 ) 7 7 77 + 7 + (7 - 7) \cdot 7 \cdot 7
10 10 7 + 7 + 7 + 7 7 + ( 7 7 ) 7 + \frac{7 + 7 + 7}{7} + (7 - 7) 35 35 7 7 7 7 + ( 7 7 ) 7 7 \cdot 7 - 7 - 7 + (7 - 7) \cdot 7 60 60 ( 77 7 7 ) ( 7 7 7 ) (\frac{77 - 7}{7})(7 - \frac{7}{7}) 85 85 77 + 7 + 7 7 + ( 7 7 ) 77 + 7 + \frac{7}{7} + (7 - 7)
11 11 77 7 + ( 7 7 ) 7 7 \frac{77}{7} + (7 - 7) \cdot 7 \cdot 7 36 36 7 + 7 + 7 + 7 + 7 + 7 7 7 + 7 + 7 + 7 + 7 + \frac{7}{7} 61 61 7 7 + 7 + 7 7 + 7 7 7 \cdot 7 + 7 + 7 - \frac{7 + 7}{7} 86 86 77 + 7 + 7 7 + 7 7 77 + 7 + \frac{7}{7} + \frac{7}{7}
12 12 7 + 7 7 + 7 7 + ( 7 7 ) 7 + 7 - \frac{7 + 7}{7} + (7 - 7) 37 37 7 7 7 7 + 7 + 7 7 7 \cdot 7 - 7 - 7 + \frac{7 + 7}{7} 62 62 7 7 + 7 + 7 7 7 7 7 \cdot 7 + 7 + \frac{7 \cdot 7 - 7}{7} 87 87 77 + 7 + 7 + 7 + 7 7 77 + 7 + \frac{7 + 7 + 7}{7}
13 13 7 + 7 7 7 + ( 7 7 ) 7 7 + 7 - \frac{7}{7} + (7 - 7) \cdot 7 38 38 7 ( 77 7 7 ) 7 + 7 \frac{7(77 - \frac{7}{7})}{7 + 7} 63 63 7 7 + 7 + 7 + ( 7 7 ) 7 7 \cdot 7 + 7 + 7 + (7 - 7) \cdot 7 88 88 77 + 77 7 + ( 7 7 ) 77 + \frac{77}{7} + (7 - 7)
14 14 7 + 7 + ( 7 7 ) 7 7 7 7 + 7 + (7 - 7) \cdot 7 \cdot 7 \cdot 7 39 39 7 7 7 7 + 7 + 7 7 7 \cdot 7 - 7 - \frac{7 + 7 + 7}{7} 64 64 7 7 + 7 + 7 7 + 7 7 7 \cdot 7 + 7 + \frac{7 \cdot 7 + 7}{7} 89 89 77 + 7 + 7 7 + 7 7 77 + 7 + 7 - \frac{7 + 7}{7}
15 15 7 + 7 + 7 7 + ( 7 7 ) 7 7 + 7 + \frac{7}{7} + (7 - 7) \cdot 7 40 40 7 7 7 7 7 7 7 7 \cdot 7 - 7 - \frac{7}{7} - \frac{7}{7} 65 65 7 7 + 7 + 7 + 7 + 7 7 7 \cdot 7 + 7 + 7 + \frac{7 + 7}{7} 90 90 77 + 7 + 7 7 7 7 77 + 7 + \frac{7 \cdot 7 - 7}{7}
16 16 7 + 7 + 7 + 7 7 + ( 7 7 ) 7 + 7 + \frac{7 + 7}{7} + (7 - 7) 41 41 7 7 7 7 7 + ( 7 7 ) 7 \cdot 7 - 7 - \frac{7}{7} + (7 - 7) 66 66 77 77 7 + ( 7 7 ) 77 - \frac{77}{7} + (7 - 7) 91 91 77 + 7 + 7 + ( 7 7 ) 7 77 + 7 + 7 + (7 - 7) \cdot 7
17 17 7 + 7 + 7 + 7 7 + 7 7 7 + 7 + \frac{7 + 7}{7} + \frac{7}{7} 42 42 7 7 7 + ( 7 7 ) 7 7 7 \cdot 7 - 7 + (7 - 7) \cdot 7 \cdot 7 67 67 77 7 7 + 7 + 7 7 77 - 7 - \frac{7 + 7 + 7}{7} 92 92 77 + 7 + 7 7 + 7 7 77 + 7 + \frac{7 \cdot 7 + 7}{7}
18 18 7 + 7 + 7 + 7 + 7 + 7 7 7 + 7 + \frac{7 + 7 + 7 + 7}{7} 43 43 7 7 7 + 7 7 + ( 7 7 ) 7 \cdot 7 - 7 + \frac{7}{7} + (7 - 7) 68 68 77 7 7 + 7 + 7 7 77 - \frac{7 \cdot 7 + 7 + 7}{7} 93 93 77 + 7 + 7 + 7 + 7 7 77 + 7 + 7 + \frac{7 + 7}{7}
19 19 7 + 7 + 7 7 7 7 7 7 + 7 + 7 - \frac{7}{7} - \frac{7}{7} 44 44 7 7 7 + 7 7 + 7 7 7 \cdot 7 - 7 + \frac{7}{7} + \frac{7}{7} 69 69 77 7 7 7 + ( 7 7 ) 77 - 7 - \frac{7}{7} + (7 - 7) 94 94 77 + 7 + 77 7 7 77 + 7 + \frac{77 - 7}{7}
20 20 7 + 7 + 7 7 7 + ( 7 7 ) 7 + 7 + 7 - \frac{7}{7} + (7 - 7) 45 45 7 7 7 + 7 + 7 + 7 7 7 \cdot 7 - \frac{7 + 7 + 7 + 7}{7} 70 70 77 7 + ( 7 7 ) 7 7 77 - 7 + (7 - 7) \cdot 7 \cdot 7 95 95 7 ( 7 + 7 ) 7 + 7 + 7 7 7(7 + 7) - \frac{7 + 7 + 7}{7}
21 21 7 + 7 + 7 + ( 7 7 ) 7 7 7 + 7 + 7 + (7 - 7) \cdot 7 \cdot 7 46 46 7 7 7 + 7 7 7 7 7 \cdot 7 - \frac{7 + 7}{7} - \frac{7}{7} 71 71 77 7 + 7 7 + ( 7 7 ) 77 - 7 + \frac{7}{7} + (7 - 7) 96 96 7 ( 7 + 7 ) 7 7 7 7 7(7 + 7) - \frac{7}{7} - \frac{7}{7}
22 22 7 + 7 + 7 + 7 7 + ( 7 7 ) 7 + 7 + 7 + \frac{7}{7} + (7 - 7) 47 47 7 7 7 + 7 7 + ( 7 7 ) 7 \cdot 7 - \frac{7 + 7}{7} + (7 - 7) 72 72 77 7 7 7 7 7 77 - \frac{7 \cdot 7 - 7 - 7}{7} 97 97 7 ( 7 + 7 ) 7 7 + ( 7 7 ) 7(7 + 7) - \frac{7}{7} + (7 - 7)
23 23 7 + 7 + 7 + 7 7 + 7 7 7 + 7 + 7 + \frac{7}{7} + \frac{7}{7} 48 48 7 7 7 7 + ( 7 7 ) 7 7 \cdot 7 - \frac{7}{7} + (7 - 7) \cdot 7 73 73 77 7 + 7 + 7 + 7 7 77 - \frac{7 + 7 + 7 + 7}{7} 98 98 7 ( 7 + 7 ) + ( 7 7 ) 7 7 7(7 + 7) + (7 - 7) \cdot 7 \cdot 7
24 24 7 + 7 + 7 + 7 + 7 + 7 7 7 + 7 + 7 + \frac{7 + 7 + 7}{7} 49 49 7 7 + ( 7 7 ) 7 7 7 7 \cdot 7 + (7 - 7) \cdot 7 \cdot 7 \cdot 7 74 74 77 7 + 7 7 7 7 77 - \frac{7 + 7}{7} - \frac{7}{7} 99 99 7 ( 7 + 7 ) + 7 7 + ( 7 7 ) 7(7 + 7) + \frac{7}{7} + (7 - 7)
25 25 7 ( 7 7 + 7 7 ) 7 + 7 \frac{7(7 \cdot 7 + \frac{7}{7})}{7 + 7} 50 50 7 7 + 7 7 + ( 7 7 ) 7 7 \cdot 7 + \frac{7}{7} + (7 - 7) \cdot 7 75 75 77 7 + 7 7 + ( 7 7 ) 77 - \frac{7 + 7}{7} + (7 - 7) 100 100 7 ( 7 + 7 ) + 7 7 + 7 7 7(7 + 7) + \frac{7}{7} + \frac{7}{7}

The smallest positive integer that I could not express with seven sevens was 102 102 . Please comment below if you can do it, or prove that it can't be done!

102 = 77 + 7 + 7 + 77 7 102 = 77 + 7 + 7 + \dfrac{77}7 .

Pi Han Goh - 1 year, 10 months ago

Great! Okay, here's the next 30 30 , with the blank ones more that I couldn't find:

101 7 ( 7 + 7 ) + 7 + 7 + 7 7 7(7+7) + \frac{7 + 7 + 7}{7} 111 7 ( 7 + 7 ) + 7 + 7 7 7 7(7 + 7) + 7 + 7 - \frac{7}{7} 121 777 + 77 7 7 \frac{777 + 77 - 7}{7}
102 77 + 7 + 7 + 77 7 77 + 7 + 7 + \frac{77}{7} 112 7 ( 7 + 7 ) + 7 + 7 ( 7 7 ) 7(7 + 7) + 7 + 7 - (7 - 7) 122 777 7 + 77 7 \frac{777}{7} + \frac{77}{7}
103 7 ( 7 + 7 ) + 7 7 + 7 7 7(7 + 7) + 7 - \frac{7 + 7}{7} 113 7 ( 7 + 7 ) + 7 + 7 + 7 7 7(7 + 7) + 7 + 7 + \frac{7}{7} 123 777 + 77 + 7 7 \frac{777 + 77 + 7}{7}
104 7 ( 7 + 7 ) + 7 7 7 7 7(7 + 7) + \frac{7 \cdot 7 - 7}{7} 114 777 + 7 + 7 + 7 7 \frac{777 + 7 + 7 + 7}{7} 124 77 + 7 7 7 + 7 7 77 + 7 \cdot 7 - \frac{7 + 7}{7}
105 7 ( 7 + 7 ) + 7 + ( 7 7 ) 7 7(7 + 7) + 7 + (7 - 7) \cdot 7 115 777 + 77 7 7 \frac{777 + 77}{7} - 7 125 7 ( 77 7 + 7 ) 7 7 7(\frac{77}{7} + 7) - \frac{7}{7}
106 7 ( 7 + 7 ) + 7 7 + 7 7 7(7 + 7) + \frac{7 \cdot 7 + 7}{7} 116 777 7 7 7 + 7 \frac{777 - 7 - 7}{7} + 7 126 7 ( 7 + 7 ) + 7 + 7 + 7 + 7 7(7 + 7) + 7 + 7 + 7 + 7
107 7 ( 7 + 7 ) + 7 + 7 + 7 7 7(7 + 7) + 7 + \frac{7 + 7}{7} 117 777 7 + 7 7 7 \frac{777}{7} + 7 - \frac{7}{7} 127 7 ( 77 7 + 7 ) + 7 7 7(\frac{77}{7} + 7) + \frac{7}{7}
108 ( 7 7 7 ) ( 77 7 + 7 ) (7 - \frac{7}{7})(\frac{77}{7} + 7) 118 777 7 + 7 + ( 7 7 ) \frac{777}{7} + 7 + (7 - 7) 128 77 7 77 7 + 7 \frac{77}{7} \cdot \frac{77}{7} + 7
109 777 7 7 + 7 7 \frac{777}{7} - \frac{7 + 7}{7} 119 7 ( 7 + 7 + 7 + 7 + 7 7 ) 7(7 + 7 + \frac{7 + 7 + 7}{7}) 129 777 + 77 7 + 7 \frac{777 + 77}{7} + 7
110 77 7 ( 77 7 7 ) \frac{77}{7}(\frac{77 - 7}{7}) 120 777 + 7 + 7 7 + 7 \frac{777 + 7 + 7}{7} + 7 130

Can anyone find any of these blanks?

David Vreken - 1 year, 10 months ago

125 = 7 ( 77 7 + 7 ) 7 7 125=7(\frac{77}{7}+7)-\frac{7}{7}

Sam Zhou - 1 year, 10 months ago

Similarly, 127 = 7 ( 77 7 + 7 ) + 7 7 127=7(\frac{77}{7}+7)+\frac{7}{7}

Sam Zhou - 1 year, 10 months ago

Also, your expression for 117 is incorrect. You probably meant 117 = 777 7 + 7 7 7 117=\frac{777}{7}+7-\frac{7}{7} .

Sam Zhou - 1 year, 10 months ago

Thanks @Sam Zhou ! I updated the chart.

David Vreken - 1 year, 10 months ago

I also found 124 = 77 + 7 7 7 + 7 7 124 = 77 + 7 \cdot 7 - \frac{7 + 7}{7} and 115 = 777 + 77 7 7 115 = \frac{777 + 77}{7} - 7 .

David Vreken - 1 year, 10 months ago

Tchisla: Головоломка с числами — HORIS INTERNATIONAL LIMITED. See this app in AppStore.

Yuriy Kazakov - 1 year, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...