Math Problem

18 years ago
Posts: 1502
Quote from allen2
For info, you can easily make an human almost understandable form of the number:
16^262144=16^(2.5104857.6)=(16^2.5)^104857.6=1024^104857.6 which is about (10^3) ^104858)=10^(3104858)=10^314574
That a lot of possibilities.
uh... HUH?! 😕
the best security guard, EVER.

18 years ago
Posts: 126
Im trying out to think, what are you saying, and maybe i got it, you are trying to know how many combinations of 262144 bits differents and teams of 16 bits....
To figure out use the next ecuation: Combination of 262144 and 16 = (262144!/(261128!16!) simplifying this is (262144262143262142262141262140262139262138262137262136262135262134262133262132262131262130262129)/(16!)
and 4,97096E+86/2,09228E+13
and fynally 2,37586E+73
if i wrong I SWEAR that i stop buying manga
😀 Im lying juejeujeuejeu 😀

18 years ago
Posts: 15
I think I got it...no wait...I lost it. 😕
"Congratulations, you lose at life."

16 years ago
Posts: 200
EPIC Bump
A high-school exercise about data storage, though i can't believe that no one actually offered a nice solution, for 2 years...
Quote from ZinnKid
I'm trying to find how many different files that is 256KB in size can exist in order to see if it is feasible to use brute force to match a hash.
So the Math formula I worked out to calculate the possible combinations of bytes of a file is: "16 to the power of S" S = Number of bytes in a file. So to calculate 256KB the problem would be "16 to the power of 262144"
But, I can't find a calculator can that can solve. I understand the answer will be large but can any of you guys can help?
P.S.
This is also a test to see if you guys are smart. Why else would I ask here? 🤣
😲 16^262144 ,no ,you are wrong.
Quote from ZinnKid
I see a problem in my math sentence. I takes 2 hex to make a byte.
So now it's 256 to the power of 262144
Finally you figured it out. 2^8 = 256 combinations for 1 byte !
Quote from lilchoconut
this was as far as i could get...
256^262144
=(256^16384)^16 {since 16*16384 = 262144 ^^;}= (4.0141321820360630391660606060389e+39456)^16
and then the calculator stops working... ^^;
but if you were to multiply that by itself... 16 times...
this number now:
4.0141321820360630391660606060389e+39456(1)4.0141321820360630391660606060389e+39456
(2)1.611325717485760473619572118452e+78913
(3)6.4680744183019405463588561528246e+118369
(4)2.5963705678310007761265964957269e+157826
(5)1.042217465282166716619404469602e+197283
(6)4.1835986680691986571412489153189e+236739
(7)1.6793518050219779415203529886769e+276196
(8)6.7411401254990734022690651047042e+315652
(9)2.705982752138045535559826185305e+355109
(10)1.0862172449391843852845162482042e+394566
(11)4.3602195995929289688495561513178e+434022
(12)1.7502497815470373043691823754119e+473479
(13)7.0257339747095515166451840082533e+512935
(14)2.8202224850305754165252615014567e+552392
(15)1.132074583766295182738676922143e+591849
(16)4.5442970191613663099961595907971e+631305sorry that was to keep track of the numbers...
so final answer:
256^262144
=4.5442970191613663099961595907971e+631305(check that if you'd like, since a phone call sort of disturbed my train of thought)
edit 1: i made a mistake///still checking answer @_@
edit 2: err.... i noticed that the calculator didn't want to paste all the numbers.. which threw the answer off by a lot (?)
edit 3: should be fixed now
edit 4:
i now check my answer for you all =o:
using ln256^262144 = 4.5442970191613663099961595907971e+631305
ln(256^262144) = ln(4.5442970191613663099961595907971e+631305)RS: ln(4.5442970191613663099961595907971e+631305)
= 1453634.9960056504255349671779803LS: ln(256^262144)
= 262144*ln(256)
= 1453634.9960056504255349671779803LS = RS
QED
Quote from Stealth
I think lilchoconut's logarithmic approach was the best attempt so far. And the result she got seems highly plausible. Although I wonder what kind of calculator or software did she use?
Noooo, he did not use the logarithm to calculate , he used it to check his answer.His approach is the brute multiplication 😲 nice try though...
Okay, no more criticism, this is my solution :
y=256^262144 = 1e.+2^18Lg256 ; x = Lg256,
The error (y) = 2^18ln10* error (x) -error(y) in percentage.I'm aiming at 0.1, nice enough---> error(x) ~ 1e.-7 🤨 so x = 2.40824;more than enough,lol error (y)<2.1%
y=1e.631305.6666=1e.6666*1e.631305 (-2.1% error);z = 1e.6666;error(y) = error(z);z~4.64 error(y)< +0.02%.
Finally,** y=4.64e.+631305**,and the error is freaking good: y/(256^262144) = 1/(1+0.02%)*1/(1-2.1%)=1.02124621 😀
Do i need to multiply it 16 times or use super math software ? no, window's calculator and 15 minutes are more than enough. 😮