### Author Topic: General Math help  (Read 9676 times)

0 Members and 1 Guest are viewing this topic.

• The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
• LV10 31337 u53r (Next: 2000)
• Posts: 1970
• Rating: +128/-15
• I put on my robe and pixel hat...
##### Re: General Math help
« Reply #15 on: April 17, 2011, 01:32:02 am »
[] is not the notation for the floor function. They're just brackets.
|_b_|/c=|_a_|<=a<=|-a-|
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names

I'm a performer at heart; I stole it last week.
My Artwork!

#### willrandship

• Omnimagus of the Multi-Base.
• LV11 Super Veteran (Next: 3000)
• Posts: 2953
• Rating: +98/-13
• Insert sugar to begin programming subroutine.
##### Re: General Math help
« Reply #16 on: April 17, 2011, 01:35:11 am »
Square brackets are the de-facto way of typing floor functions, IIRC, because I don't have a reverse-L key

But anyways, solve int(a)*int(b)=a known integer

The hard part is that there is no inverse int( function

• The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
• LV10 31337 u53r (Next: 2000)
• Posts: 1970
• Rating: +128/-15
• I put on my robe and pixel hat...
##### Re: General Math help
« Reply #17 on: April 17, 2011, 01:39:48 am »
(int(b)=1 and int(a)=a) or a=0
« Last Edit: April 17, 2011, 01:42:39 am by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names

I'm a performer at heart; I stole it last week.
My Artwork!

#### willrandship

• Omnimagus of the Multi-Base.
• LV11 Super Veteran (Next: 3000)
• Posts: 2953
• Rating: +98/-13
• Insert sugar to begin programming subroutine.
##### Re: General Math help
« Reply #18 on: April 17, 2011, 01:46:10 am »
that's not all solutions though......

And a=0 doesn't work, unless c is 0, which it isn't
« Last Edit: April 17, 2011, 01:46:49 am by willrandship »

• The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
• LV10 31337 u53r (Next: 2000)
• Posts: 1970
• Rating: +128/-15
• I put on my robe and pixel hat...
##### Re: General Math help
« Reply #19 on: April 17, 2011, 01:48:48 am »
It is for
int(b)int(a)=a
which is what you posted, innit?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names

I'm a performer at heart; I stole it last week.
My Artwork!

#### willrandship

• Omnimagus of the Multi-Base.
• LV11 Super Veteran (Next: 3000)
• Posts: 2953
• Rating: +98/-13
• Insert sugar to begin programming subroutine.
##### Re: General Math help
« Reply #20 on: April 17, 2011, 01:50:29 am »
no, int(b)int(a)=c.

Oh, I see, by "a known integer" I meant int(c) but that you know c sorry.

Here's a hex number to start you off. It's easy because there's only 2 sets of results!

0xc3b3a7015c04299ff3a25f104e2285c1ec2d55471e6208959d0f6981b2fa2c6d3e316f9364d5eb5c7789e142b75bfaf402e7e02fac0cb09f6419db1f44679f8bbcca142f1d312feb095708ef175a4ef80271321e7240f0d854c90a74fc59209cdf80aa8f85ae3b948a3ce55c69cd050098d5a79aebbc241cc642b106b1af2cb7
« Last Edit: April 17, 2011, 01:51:11 am by willrandship »

• The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
• LV10 31337 u53r (Next: 2000)
• Posts: 1970
• Rating: +128/-15
• I put on my robe and pixel hat...
##### Re: General Math help
« Reply #21 on: April 17, 2011, 02:06:41 am »
If you want to get rid of the floors, that'll involve inequalities, which I don't think you're looking for. If you don't mind having floors, then it's {int(a)=c/int(b) c|int(b)
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names

I'm a performer at heart; I stole it last week.
My Artwork!