SRL Archive - Mathematics

odd math problem


martini0072

2012-05-07 20:06:15

hello everybody, i love math and do it in competitions at my highschool and am relatively new here, and theres this problem that stumped me. hoping some of you guys can help.

its simply this.

"simplify 1994^1994" (1994 raised to the 1994 power)

cant do it on a calculator

Frement

2012-05-07 20:09:13

"x^x" ?

tehq

2012-05-07 20:15:11

I'm not sure what exactly you mean by simplifying it? Anyway you do it will still get you the same answer. You could split it up into something like this though..

(Y^N) * (Y^N) = (Y^M).. In this case Y = 1994, M = 1994, and N = M/2. You could keep expanding it infinitely, but you'd still get (Y^M) in the end.

martini0072

2012-05-07 20:20:38

simplify as in 4.487x10^6579 (this is the answer)

Brandon

2012-05-07 20:23:14

11111001010

Shift Right 1

1111001010
S = Square, X = multiple by 1994.

the binary above becomes
S1994S1994S1994S1994SSS1994SS1994S
1994^2 = …
Result * 1994 = ….
That squared^2… and so on..


The result of 1994 ^ 1994 is both of the below in two different forms.

4.4870098966106959081161009800253e+6579

OR

4.4870098966106959081161009800253 * 10 ^ 6579

martini0072

2012-05-07 20:27:04

From: Brandon
11111001010

Shift Right 1

1111001010
S = Square, X = multiple by 1994.

the binary above becomes
S8S8S8S8SSS8SS8S
1994^2 = …
Result * 1994 = ….
That squared^2… and so on..


The result of 1994 ^ 1994 is both of the below in two different forms.

5.7734320919198422404919208157297 e+1800

OR

5.7734320919198422404919208157297 * (10 ^ 1800)


how does one do binary? how does one square such big numbers on a calculator? and also my answer sheet said the answer was 4.487x10^6579

Brandon

2012-05-07 20:33:04

From: martini0072
how does one do binary? how does one square such big numbers on a calculator? and also my answer sheet said the answer was 4.487x10^6579



Check my edit.. I accidentally missed an S. lol

K it goes like this:

Convert the powered number to binary.

Example: 2 ^ 6.. Convert the 6 to binary.
Example: 1994 ^ 1994.. Convert 1994 to binary.

Now you got some binary crap.
For every 0, replace it with S.
For every 1 Replace it with S1994.

S means square the previous value and 1994 means multiple the previous by that.

thus starting out we'd do:

1994 * 1994 = X;
X * X = Y.. Finally we hit 1994

Y * 1994 = Z
Z * Z = Alpha.
Alpha * 1994 = Beta
Beta * Beta = Iunno.. keep going till u eliminated all the S's and the 1994's. Finally you get your answer.

Also calculators can only do this in scientific notation.


C++:
int main()
{
cout<<setprecision(15)<< pow(1994.0, 1994.0); //these are doubles and hold the decimals no matter what.
}
The value in the end may be truncated.


Ohh and if you like cool tricks like that, wait till you hear about the taylor series for calculating sine of an angle manually!

sin x = x - x3/3! + x5/5! - x7/7! + … y

Hazzah

2012-05-13 15:51:14

From: Brandon
11111001010

Shift Right 1

1111001010
S = Square, X = multiple by 1994.

the binary above becomes
S1994S1994S1994S1994SSS1994SS1994S
1994^2 = …
Result * 1994 = ….
That squared^2… and so on..


The result of 1994 ^ 1994 is both of the below in two different forms.

4.4870098966106959081161009800253e+6579

OR

4.4870098966106959081161009800253 * 10 ^ 6579


I get a similar answer:

4487009896610695908116100980025333894774389092182897072419804639495785340115229062597024725485188410655220257688231482513360803511042862440856639743734636673024099840331207256163786579953666983799326572846284939532923893914939821949041684204912457663811062278162114592604934732576591722592022109944833696900516620048782252049966436959501234296789137175620023525053362202331608509414356328268368120252255631068919165574948239754936384937289778002907032304073218575453055782739845980199978075859845617598386829947516158091676830157801043763723937874124462224505186389928283812323082635280187692497620816342348009329383716399240041206735847926206256227227382387644620468049577319668456450030386494104581094347483910149782557397643861878783527467473285879142160288032058988972988844275524303874179135347351001205047158268466062226593702139083167158286501238168192657932327336184503869937956049353270260064991816223184839429243737625567304894366852237241108218592326051092492816691649174352298230041566298340383756677297960181243953989209717298769003589659457618629478849877572980001754529476194510945364392595497716756646388779701025786016641978243129691836864687315889830883638588461898408923104616644958879754816761908135855145541889761524370395282311269332846699066715407208829685536826764055745091764162155803268701575351336241630908861678737110367297461002771246928102750705378388540892286201189672518780762458970469648370035886778182667080557296939808120676919274861901802832202257952428691771140943193036218498280031588842676717105382740698159817695814757195628057014003775087820445880123120080987307047722600311709577309420444514742084517449555348729607863233205724381221158424929793514682422661221494228086683689839891244256531667585464145745391603474782647897707107324190675435776241498534896417634879946631150621620995360963873456140520165097839952972988780935814439701657092452388214546345434273004382720563202853191641179038750694723104786276997403630329007769763051995787218362079246113711435231960926785142073291745381605097949531795874563333210317482507549853910013933479264158621058103514401767411418820327908841757837006892308734428239960080786666748571569310149037249329518402764558688576637314466906067257042905716430460568592987543417350176664455353164045949887699616985064736953679748037329222169567219512502162446848402234580131211648308350591264542520722654504003550807634469904526650088096242541088887634011188625152607932893198172029169873966475984270499668466382370709904510973053645867197367818993150138225226423721329998535023650019857713148198886420701109926069931102664257944909691094940802461844563621053513937421189658387835688529064932706159267937273789402272259492413563525252712659166013146027983766933637162793692091524476564119036000519471496638733022092957737059667945773267742026648640303178484318529270183375082520403784751701733345382844003640440465020314700330936178230963936346223501695430107415565921827599245363304418571885112709030958369415578966522063895764666012544489875891420456644962331772839243064335962580427045915145398489029043565786586201890757431307205057193940285973407325928666699450938998560184190518312943206397775912994579343370911689866591450499632170278287211763606530881512126851083993068362088547413439520704808992946793556846461658892202804931851387307322454006832271414123646593079614059196799306474533610205931016073046326332003882443131259493750123586277368216034859215010728559410554568781070588032784788390292330110963201168606973736143588399249383732717194440942364185834929417867081445499257511489263809013253836023188976580846275309568283043117775578547002936092178459062205102732088619585155983272186798942943403658377436966585328726537865222351628433452072552544331525020498839079423429427209545576114862285637421504821302898081914029570898601698410815271287454857948772200740242222365620980958960357722745937341747774425578539907248553537771643712427460759118011290642971999655006443392213765895784260185802318796708260728305795454480473608842090358623510123956594828408279237975282254020955637491441106384476574683878650972762887312815255045206142221582955126329297984100321670332087386708950553026057888456318115669877158943695123053095896655862830297610894016011132507714686574921364406742784041869471478393180296163282438097831906095959897967467555110847944818674220124448448121118504707674586640718157021745869487298464950742262408336394595620401957283829058703942261041759299444893932933162043400093367269646069922179932046813586383244987473750188991040271750039224366617194994820137460886745382702818222552529683595482912643265009898141597027676705011015373760675034979737789631716941685498755417876014715982339245344563309052029070395243831837500996143298457572292398492669680060272515292719829541434851020186677735981467442131736796155472812236990273820861940193471458620275471399169528474780832393465820398118964178890961804416549944595544845118411959717787195828960427101970828541902081120720557201999041633353905051891687567997535260361513506674130129207492238292426610147705320832332864280631145022813928842908695823784531041924365138027470375446868186178228979028397630166028971280339891328745420584571018275084716717338899625774298293173979340260122417064562496306644236683777704138871019480307245640394881395873026354732813405041699813210728876637818542542538778910696034010387559399352417266602787501883654214524216501331182719730288179603934020054098014938069355838647752842988834929127513069808143786365694252837045625072673851165971868779576193172106813352689082416290920584116376395572696136576642563255988964965730966863859120723777110392537379921410444804199305306390366352021626947352980889470621868927271461330630686103066793080732135135297171586297742604479300077226802369102146153464619053662250651069784215405330577449217499837557322075724294889398245823910244409770375541627853364008933960108861233722382095418548638009928283435394397264729849131114272556508605225760214730233541179056722313341434944913754643594274301043620452254179479299860653176366980732984826576511786868384008051499236719514124690975705060781384369025344422434922151604934383287177643408757925331166157728489299589163428277784343973298619208098078634973553715018814228029500329042314026421035688465563751206126110609661320669362577150373573932592298970638303223849510922402849456954950262042158411678852210504067694671152102627155155309160023121920959401694949183753670138432387446512545655051039950976653384435052654496188744740433244143216720452168132288421842086312953453694371002723042550378445930496

zmon

2012-05-21 20:10:28

or you could just say 2^(2*997) * 997^(2*997) but basically finding out what is it that they're looking for is probably best place to start… by the way what i wrote is factored version of your answer, and you can write it even nicer like this:

2^(997*2) * 997^(2*997)

and then it looks cool :P

doorsftw

2012-05-25 15:50:58

use wolfram alpha :) or mathematica

repahu

2012-05-25 17:29:29

1994^1994=10^x
log(1994^1994)=x
1994*log(1994)=x
1994*log(1994)=~6579.651957

1994^1994=~10^0.651957 * 10^6579 = 4.4870096*10^6579

Hazzah

2012-05-25 21:41:10

From: doorsftw
use wolfram alpha :) or mathematica


I used MAPLE and gave him an exact answer to his question, not sure why this is still being commented on. :duh:

Pascal

2012-05-26 19:18:07

Why would you guys do this via binary and such when it's easily solvable with a logarithm…