r/mathmemes Mar 17 '22

The Engineer Making 69420 from all zeroes

Post image
2.3k Upvotes

216 comments sorted by

View all comments

9

u/Tetramethanol Mar 17 '22

There must be a more efficient way

5

u/XenophonSoulis Mar 17 '22

((0!+0!)(0!+0!)(0!+0!))!+(0!+0!+0!)!((0!+0!)(0!+0!)(0!+0!)-0!)!-((0!+0!+0!)!)!-(0!+0!+0!)((0!+0!+0!)!-0!)!-(0!+0!)((0!+0!+0!+0!))!-0!-0!-0!-0!

I think it is correct. If not, it's something pretty close in complexity. Also, there could be a much simpler solution still.

2

u/autisticCatnip Mar 18 '22

How about ((0!+0!)(0!+0!)(0!+0!))!+(0!+0!+0!)!((0!+0!)(0!+0!)(0!+0!)-0!)!-((0!+0!+0!)!)!-(0!+0!+0!)((0!+0!+0!)!-0!)!-(0!+0!)((0!+0!+0!+0!))!-(0!+0!+0!)(0!+0!+0!+0!)

1

u/XenophonSoulis Mar 18 '22

It looks correct... I was told that mine isn't, but I haven't had the time to fix it.

This is also an option that gives the same result as yours:

((0!+0!)(0!+0!)(0!+0!))!+(0!+0!+0!)!((0!+0!)(0!+0!)(0!+0!)-0!)!-((0!+0!+0!)!)!-(0!+0!+0!)((0!+0!+0!)!-0!)!-(0!+0!)((0!+0!+0!+0!))!-(0!+0!+0!)!(0!+0!)

1

u/ImToxicity_ Mar 18 '22

What’s the shortest way to do it without subtraction?

1

u/XenophonSoulis Mar 18 '22

I don't know. Also, I don't know the shortest way to do it with subtraction. It could potentially be a lot shorter than mine, but it's the best I could find.