r/puzzles • • 3d ago

[SOLVED] 7-segment mirrors

Post image

I share weekly puzzles on r/puzzles, and a daily one on r/puzzle

21 Upvotes

24 comments sorted by

•

u/AutoModerator 3d ago

Please remember to spoiler-tag all guesses, like so:

New Reddit: https://i.imgur.com/SWHRR9M.jpg

Using markdown editor or old Reddit, draw a bunny and fill its head with secrets: >!!< which ends up becoming >!spoiler text between these symbols!<

Try to avoid leading or trailing spaces. These will break the spoiler for some users (such as those using old.reddit.com) If your comment does not contain a guess, include the word "discussion" or "question" in your comment instead of using a spoiler tag. If your comment uses an image as the answer (such as solving a maze, etc) you can include the word "image" instead of using a spoiler tag.

Please report any answers that are not properly spoiler-tagged.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

37

u/Crivium 3d ago

If we treat 1 as the first number - 11555511

It basically melts down to converting from base10 to base7 and changing the numbers accordingly in the result. E.g. 0=0 1=1, 2=2, 3=5, 4=6, 5=8, 6=9

If we treat 0 as the first number, then the instructions are incorrect, as "8" is 6th mirrored number

5

u/Mathsboy2718 2d ago

I'm not convinced - the number 100 is included in this, and I'm not sure if 001 counts as meaningful

2

u/Crivium 2d ago edited 2d ago

10 and 20 are also included - otherwise 21 would not be 15th. Thus, rules allow for leading zeros in the converted numbers.

That said, the rules could use clarifying in that aspect. Overall, my solution treats this puzzle as, well, puzzle - looks scary, but when you see the pattern it is straightforward without doing much math. Otherwise, you get a math problem

1

u/a2ra-ms 3d ago

Nice! Correct!

8

u/Danisobo 3d ago

imo use of "mirror" in the title muddies the puzzle - implying reflection rather than rotation (which is what the actual puzzle image describes)

the examples make it clear that leading zero's must count as "meaningful" (10->01 is 7th, 20->02 is 14th, in order for 21->12 to be 15th) and i concur with others that 11555511 is the millionth.

as a stretch, just for grins, if leading zero's DIDN'T count (e.g. 21->12 instead becomes the 13th), then i believe the millionth would be 12929256

6

u/Some-Passenger4219 3d ago

If 8 is the fifth, then we start counting at 1. All we're doing is using digits that look like themselves or each other upside down, so that amounts to counting in base 7. Converting one million to base seven, we get 11333311; and then, switching digits, that's 11555511.

3

u/Notchmath 3d ago

Since a number can be read upside down exactly when it is composed of the digits 0, 1, 2, 5, 6, 8, and 9, this is equivalent to asking what the millionth number with only those digits is. As a shortcut, we can label those numbers 0 through 6 and ask what 1 million is in base 7, which is 11333311. Since 1 corresponds to 1 and 3 corresponds to 5, the answer is 11,555,511.

3

u/LightBrand99 3d ago

Solution: 11555511

In this counting system, the valid digits are 0, 1, 2, 5, 6, 8, and 9. We can treat this as a base-7 system but using those seven digits. Let's call this the meaningful base.

The number 1 million in base-7 is 11333311 if we consider the digits from 0 to 7. But in the meaningful base, the first digit is still 1, but the third digit is 5, so this number would look like 11555511. That's the one millionth meaningful number (shown in decimal).

2

u/Equal_Veterinarian22 3d ago

The reversible digits are 1256890

As there are 7 digits, we could pretend we're working in base 7. 1,000,000 decimal is 11,333,311 in base 7 - the millionth number. Mapping this back to our allowable digits, we get 11,555,511.

2

u/AmorphouSquid 3d ago edited 3d ago

Most people are getting the answer wrong correct, great job guys. You can't just convert to base 7 because both the first and last digits of a "meaningful" number cannot be 0 (confirmed by the question stating that the 15th number is 21).

2

u/Altruistic-Sea797 3d ago

1,2,5,6,8,9,10,11,12,15,16,18,19,20,21. 21 is the 15th number. 10 and 20 are meaningful numbers, surely?

2

u/AmorphouSquid 3d ago

Damn... the hardest part of math might be counting. Maybe I need some sleep.

1

u/Crivium 3d ago edited 3d ago

Yeah, the rules break when you think about zeros in the "original" number - that way you have infinite numbers before even getting to "1" (0, 00, 000, 0000, etc.). So it would make more sense to assume that the original number cannot have leading zeros, but the converted one can - that is the only way to make "21" 15th number, as it would be 13th if we eliminate 10 and 20 from the count.

To be fair, that is heavily implied in the rules - "8 is 5th" shows that we are counting from 1, and "21 is 15th" shows what I wrote above. If we join the three conditions (third one being "only symetrical numbers - 1,2,5,6,8,9,0") then converting to base7 and substituting the natural to us 1,2,3,4,5,6,0 to the numbers from the third condition fulfills all of them

2

u/TimothyTG 3d ago

Discussion: I don’t like that an upside down “1” would be correctly read as part of a number as it would be in the wrong place.

0

u/MasemJ 3d ago

There are 7 digits that work 0, 1, 2, 5, 6, 8, and 9. Assume leading zeros are not considerd meaningful (eg 10 doesnt work as that gives 01 flipped)

There are then 6 single digits that work for the first and last digit, 7 for any other.

So 6 possible one digit numbers, 36 two digit, 252 (676) three digits, all through 605052 seven digit numbers, by which point there are a total of 705894 numbers, the last being 9999999. We need to now find the 294106th number beyond that which will be 8 digits.

Setting first digit to 1, there then 76*6 = 705894 numbers that work, so the 294106th one will be there.

Setting the first two digits to 10, there are 100842 numbers that work. So to get to 294106, the first two digits have to be 12. 294106-2*100842 = 92422.

Repeating this, using 7n*6, it works out to 12828262 as the millionth such number.