• We have a few events lined up for the October school holidays!
    Watch this space...

Interesting mathematical statements (1 Viewer)

leehuan

Well-Known Member
Joined
May 31, 2014
Messages
5,805
Gender
Male
HSC
2015
Too bad, cause even simple things like the power series for exp are interesting when you first see it.

(Also it was not a consequence in my homework. It was an intermediate step to GET to Stirling's approximation)
 

Paradoxica

-insert title here-
Joined
Jun 19, 2014
Messages
2,454
Location
Outside reality
Gender
Male
HSC
2016
Too bad, cause even simple things like the power series for exp are interesting when you first see it.

(Also it was not a consequence in my homework. It was an intermediate step to GET to Stirling's approximation)
I know. But I'm not the one doing it, so ¯\_(ツ)_/¯
 

mrbunton

Member
Joined
Feb 1, 2018
Messages
27
Gender
Male
HSC
2018
the expression:
( (i0*(1*(1%(((i0 + 1) / (i1 + 1))+1))*(1%(((i0 + 1) / (i2 + 1))+1))*(1%(((i0 + 1) / (i3 + 1))+1))*(1%(((i0 + 1) / (i4 + 1))+1)))) + (i1*(1*(1%(((i1 + 1) / (i0 + 1))+1))*(1%(((i1 + 1) / (i2 + 1))+1))*(1%(((i1 + 1) / (i3 + 1))+1))*(1%(((i1 + 1) / (i4 + 1))+1)))) + (i2*(1*(1%(((i2 + 1) / (i0 + 1))+1))*(1%(((i2 + 1) / (i1 + 1))+1))*(1%(((i2 + 1) / (i3 + 1))+1))*(1%(((i2 + 1) / (i4 + 1))+1)))) + (i3*(1*(1%(((i3 + 1) / (i0 + 1))+1))*(1%(((i3 + 1) / (i1 + 1))+1))*(1%(((i3 + 1) / (i2 + 1))+1))*(1%(((i3 + 1) / (i4 + 1))+1)))) + (i4*(1*(1%(((i4 + 1) / (i0 + 1))+1))*(1%(((i4 + 1) / (i1 + 1))+1))*(1%(((i4 + 1) / (i2 + 1))+1))*(1%(((i4 + 1) / (i3 + 1))+1)))))/(0+1*(1%(((i0 + 1) / (i1 + 1))+1))*(1%(((i0 + 1) / (i2 + 1))+1))*(1%(((i0 + 1) / (i3 + 1))+1))*(1%(((i0 + 1) / (i4 + 1))+1))+1*(1%(((i1 + 1) / (i0 + 1))+1))*(1%(((i1 + 1) / (i2 + 1))+1))*(1%(((i1 + 1) / (i3 + 1))+1))*(1%(((i1 + 1) / (i4 + 1))+1))+1*(1%(((i2 + 1) / (i0 + 1))+1))*(1%(((i2 + 1) / (i1 + 1))+1))*(1%(((i2 + 1) / (i3 + 1))+1))*(1%(((i2 + 1) / (i4 + 1))+1))+1*(1%(((i3 + 1) / (i0 + 1))+1))*(1%(((i3 + 1) / (i1 + 1))+1))*(1%(((i3 + 1) / (i2 + 1))+1))*(1%(((i3 + 1) / (i4 + 1))+1))+1*(1%(((i4 + 1) / (i0 + 1))+1))*(1%(((i4 + 1) / (i1 + 1))+1))*(1%(((i4 + 1) / (i2 + 1))+1))*(1%(((i4 + 1) / (i3 + 1))+1)))

is equal to the largest positive integer(and 0) out of i0,i1,i2,i3,i4.
"a/b" denotes floor(a/b) or integer division
"a%b" denotes a mod b
"a+b" and "a*b" is obvious

generated through a python script. I realised that it's not the shortest way to express such a thing, but still. The most efficient expression would still take up acouple lines(i would think). I encourage other people to try to write an expression that is equal to the largest of two numbers using only these operations.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top