819
Life Hack (lemmy.ml)
top 50 comments
sorted by: hot top controversial new old
[-] stebo02@lemmy.dbzer0.com 73 points 3 days ago* (last edited 3 days ago)

you can trucate it and it still only a slightly worse approximation:

987/123 = 8.024

98/12 = 8.167

9/1 = 9.000

The last one is pretty bad you should probably not use it

[-] OutlierBlue@lemmy.ca 37 points 3 days ago

9/1 is approximately 8, for extremely large values of 8.

[-] toynbee@lemmy.world 4 points 3 days ago

Hello, fellow old nerd.

[-] JackbyDev@programming.dev 32 points 3 days ago
[-] somedev@aussie.zone 17 points 3 days ago

For that last one, how bad are we talking? I need to know soon, I have some important banking software I need to develop.

[-] stebo02@lemmy.dbzer0.com 14 points 3 days ago

I wouldn't use it for precise calculations at NASA, but for banking stuff I think it would be fine :)

[-] prole 3 points 3 days ago

It depends on the scale of the thing you're using it for.

[-] pacology@lemmy.world 12 points 3 days ago

Have you considered running for Indiana governor? You have the right mindset.

https://en.wikipedia.org/wiki/Indiana_pi_bill

[-] Neverclear@lemmy.dbzer0.com 8 points 3 days ago

Nah, the engineer probably designed it with a safety factor. You could probably even go 9/0 and be perfectly safe ;)

[-] stebo02@lemmy.dbzer0.com 2 points 3 days ago

what about 8/1 would that be save?

[-] DragonTypeWyvern@midwest.social 4 points 3 days ago

Don't cut corners

[-] stebo02@lemmy.dbzer0.com 8 points 3 days ago* (last edited 3 days ago)

By the way guys, a very similar approximation for 8, which also starts at 9.000 for n=1, but quickly gets much closer to 8 for increasing n, is:

exp{-2(n-1)} + 8

It approaches 8 about as fast as the above method but this one has a simple formula that is usable in python etc.

[-] humanspiral@lemmy.ca 4 points 3 days ago

16/2 is an almost exact replacement for 8. OP's name includes Fermat, and so he's probably smarter than me though.

[-] grrgyle@slrpnk.net 70 points 3 days ago

Shit like this makes me realise why people become mathematicians. You just play around with numbers and find funny facts about them.

[-] driving_crooner@lemmy.eco.br 48 points 3 days ago* (last edited 3 days ago)

So, years ago in college in Linear Algebra our professor said to us to study about idempotent matrices. So I checked out that wiki page and saw the example for 2x2 matrix, that are composed by the numbers 3, -6, 1 and -2. And I was like wait a second, 3×-2=-6 there's no way they are not relationship there, so I started trying other numbers, and found and proved (using induction) that any n, -n(n-1), 1, -(n-1) is an idempotent matrix. At the test there were no questions about that, and I was short of 0.5 poits to pass the class without having to present a final exam and I told my professor that I spent a lot of time learning that and that even discovered something and proved he pass me the chart and asked me to proved it, after that he gave the missing points. Was really good.

[-] GraniteM@lemmy.world 15 points 3 days ago

I myself once learned 380 digits of π, when I was a crazy high-school kid. My never-attained ambition was to reach the spot, 762 digits out in the decimal expansion, where it goes "999999", so that I could recite it out loud, come to those six 9s, and then impishly say, "and so on!"

—Douglas Hofstadter

[-] grrgyle@slrpnk.net 5 points 3 days ago

That would be an amazing party trick.

[-] grrgyle@slrpnk.net 5 points 3 days ago

Actually come to think of it, even more amazing in the age of smart phones, when it's possible to easily verify to numbers you're reciting.

load more comments (5 replies)
[-] mnemonicmonkeys@sh.itjust.works 8 points 3 days ago

Then you try to figure out why they do be like that

[-] dxdydz@slrpnk.net 3 points 3 days ago

I mean, mathematics are an invention. A useful one, sure, but the whole thing is just made up by people playing around with numbers and going “what if we had a new, different kind of numbers…”

[-] grrgyle@slrpnk.net 3 points 3 days ago

This reminds me of a friend who said "I like to think of dividing by zero as giving zero instead of infinity, because it means you can keep doing math on it" and I just thought that was so pure.

[-] baines@lemmy.cafe 3 points 3 days ago

there are number systems that work differently

[-] baines@lemmy.cafe 2 points 3 days ago* (last edited 3 days ago)

if we play around with it and find out we can better describe how reality works it is not strictly made up

some of it anyway and maybe all with a better understanding

[-] dxdydz@slrpnk.net 2 points 3 days ago

That’s when it stops being maths and becomes science

load more comments (1 replies)
[-] Robust_Mirror@aussie.zone 22 points 3 days ago

987654312÷123456789

Change the 21 at the end of the first number to 12 and its perfect. It was only ever 9 away.

[-] shekau@lemmy.today 12 points 3 days ago
[-] edgemaster72@lemmy.world 9 points 3 days ago* (last edited 2 days ago)

Witch! Begone foul demon, and take your dark sorcery with you!

[-] match@pawb.social 44 points 3 days ago

gonna need this in every base

I'll start with base 2:

1/1 = 1

[-] mattd@programming.dev 14 points 3 days ago

Base 3:

21 / 12 = 1.1012101210121012

[-] MelodiousFunk@slrpnk.net 11 points 3 days ago

gonna need this in every base

...all of them?

[-] match@pawb.social 3 points 3 days ago

for great justice

[-] LeninOnAPrayer@lemm.ee 7 points 3 days ago

I'm gonna need a formal proof for this.

[-] PattyMcB@lemmy.world 6 points 3 days ago

We should be friends

load more comments (3 replies)
[-] FooBarrington@lemmy.world 10 points 3 days ago

You may call it an approxim8ion

[-] BodilessGaze@sh.itjust.works 2 points 3 days ago

gr8 m8, I r8 8/8

[-] Hjalamanger@feddit.nu 14 points 3 days ago

9876543210987654321 / 1234567890123456789 = 8,0000000729000

[-] PattyMcB@lemmy.world 19 points 3 days ago

The funniest part is that some people will never understand the absolute crusade that some mathematicians might fight over this one day

[-] Hupf@feddit.org 2 points 2 days ago
[-] deegeese@sopuli.xyz 14 points 3 days ago

I wonder if there’s a related infinite sequence which converges on 8?

[-] moonlight@fedia.io 19 points 3 days ago

This sequence approximates an integer to arbitrary precision, not 8 specifically though, and never perfectly.

I tried it out using other bases, and the rule seems to be that doing this in base n results in n-2 with remainder n-1. So it doesn't ever actually converge, but the remainder becomes small very fast.

[-] match@pawb.social 11 points 3 days ago

never perfectly

eyes you in binary

[-] deegeese@sopuli.xyz 10 points 3 days ago

The sequence in base 2 is only 1/1.

Wonder how close base-16 gets.

FEDCBA987654321 / 123456789ABCDEF

[-] moonlight@fedia.io 9 points 3 days ago

Off by '1.82959E–16' !

load more comments (1 replies)
[-] Rusty@lemmy.ca 4 points 3 days ago

(n * 8 + 1) / n

[-] thedeadwalking4242@lemmy.world 5 points 3 days ago* (last edited 3 days ago)

It contains the number 8 though. So how is that useful

[-] Opisek@lemmy.world 4 points 3 days ago

Well, simple. Jest substitute that 8 with the above approximation.

[-] Neverclear@lemmy.dbzer0.com 2 points 3 days ago

It contains the numbers 8x10^7 and 8x10^1, but not 8x10^0

load more comments
view more: next ›
this post was submitted on 27 Apr 2025
819 points (100.0% liked)

Funny

9327 readers
1261 users here now

General rules:

Exceptions may be made at the discretion of the mods.

founded 2 years ago
MODERATORS