
Maths problem - number Ninjas needed!
Forum rules
Please read and follow this sub-forum's specific rules listed HERE, as well as our sitewide rules listed HERE.
Link to the Secret Ninja Sessions community ustream channel - info in this thread
Please read and follow this sub-forum's specific rules listed HERE, as well as our sitewide rules listed HERE.
Link to the Secret Ninja Sessions community ustream channel - info in this thread
Re: Maths problem - number Ninjas needed!

Soundcloud - LPR006. Due 20/05/13.
http://www.rood.fm - EVERY OTHER THURSDAY 8-10pm //
http://www.corruptradio.net - EVERY OTHER SUNDAY 6-8pm//
http://www.rood.fm - EVERY OTHER THURSDAY 8-10pm //
http://www.corruptradio.net - EVERY OTHER SUNDAY 6-8pm//
Re: Maths problem - number Ninjas needed!
now thats some math i can get done,
LA_Boxers wrote:
Re: Maths problem - number Ninjas needed!
That's numberwang!
Re: Maths problem - number Ninjas needed!
take
n as any integer variable
gT as the total number of groups
g2 as the number of groups of size 2
g3 as the number of groups of size 3
we know
gT = g2 + g3
to find the best total number of groups:
gT = 4*round(n/10)
due to the way changing a group from 2 to 3 allows us to count up in increments of 1 it is quite simple
g2 = 3gT - n
g3 = -2gT + n
you will see that some values of n are not solvable, such as 13, 14, 15 and of course any n < 8
n as any integer variable
gT as the total number of groups
g2 as the number of groups of size 2
g3 as the number of groups of size 3
we know
gT = g2 + g3
to find the best total number of groups:
gT = 4*round(n/10)
due to the way changing a group from 2 to 3 allows us to count up in increments of 1 it is quite simple
g2 = 3gT - n
g3 = -2gT + n
you will see that some values of n are not solvable, such as 13, 14, 15 and of course any n < 8
Re: Maths problem - number Ninjas needed!
Oooooo...that looks like just what I was after. Thanks 

Re: Maths problem - number Ninjas needed!
Type "spy" in at the MATLAB terminal. It will blow your mind 

-
- Posts: 2110
- Joined: Tue Apr 13, 2010 8:58 pm
- Location: Newcastle via Lincoln
Re: Maths problem - number Ninjas needed!
is that the one that draws the picture of spy vs spy as a graph?
i went through all the easter eggs when i was bored last year
i went through all the easter eggs when i was bored last year
Soundcloud
"Gettin' paid like a biker with the best cranks, spray it like a high ranked sniper in the West Bank"
√BEETS
"Gettin' paid like a biker with the best cranks, spray it like a high ranked sniper in the West Bank"
√BEETS
Re: Maths problem - number Ninjas needed!
aww shame i missed this, that's what i get for having a life i guess but i've still managed to figure something out for you wubbz
Xi = {2,3} so as a function you could say X(0) = 2, X(1) = 3 and f(x) = X(x) where x is either 0 or 1.
so now you have S total things but the number of groups needs to be divisible by four yes?
put N to be the number of groups: then N % 4 = 0 and the % is the modulus which gives the remainder of N/4
umm you also got S = Sum of X_i from i = 1 to N.
there are alot of possible combos for the actual groups, there's no one formula to get all the x_i's as you've seen in this thread.
my suggestion to you though would be to look at different combos of different configurations of groups and forget about the ones that don't have N be a multiple of 4.
i'll break it down for you since i'm such a darl
N = number of groups
S = total number of things
X_i = number of objects in group i where i is a whole number from 1 to N and
S = Sum X_i i = 1 to N
N % 4 = 0
X(a) = 2 if a = 0 or X(a) = 3 if a = 1 and a can only equal 0 or 1
Xi = {2,3} so as a function you could say X(0) = 2, X(1) = 3 and f(x) = X(x) where x is either 0 or 1.
so now you have S total things but the number of groups needs to be divisible by four yes?
put N to be the number of groups: then N % 4 = 0 and the % is the modulus which gives the remainder of N/4
umm you also got S = Sum of X_i from i = 1 to N.
there are alot of possible combos for the actual groups, there's no one formula to get all the x_i's as you've seen in this thread.
my suggestion to you though would be to look at different combos of different configurations of groups and forget about the ones that don't have N be a multiple of 4.
i'll break it down for you since i'm such a darl
N = number of groups
S = total number of things
X_i = number of objects in group i where i is a whole number from 1 to N and
S = Sum X_i i = 1 to N
N % 4 = 0
X(a) = 2 if a = 0 or X(a) = 3 if a = 1 and a can only equal 0 or 1
ketamine wrote: Also, I'd just like to point out that girls "exist".
Re: Maths problem - number Ninjas needed!
.
Last edited by LACE on Thu Oct 11, 2012 9:55 am, edited 1 time in total.
ketamine wrote: Also, I'd just like to point out that girls "exist".
Re: Maths problem - number Ninjas needed!
goddamn work computer always double posts.
ketamine wrote: Also, I'd just like to point out that girls "exist".
Re: Maths problem - number Ninjas needed!
LACE wrote:aww shame i missed this, that's what i get for having a life i guess but i've still managed to figure something out for you wubbz
Xi = {2,3} so as a function you could say X(0) = 2, X(1) = 3 and f(x) = X(x) where x is either 0 or 1.
so now you have S total things but the number of groups needs to be divisible by four yes?
put N to be the number of groups: then N % 4 = 0 and the % is the modulus which gives the remainder of N/4
umm you also got S = Sum of X_i from i = 1 to N.
there are alot of possible combos for the actual groups, there's no one formula to get all the x_i's as you've seen in this thread.
my suggestion to you though would be to look at different combos of different configurations of groups and forget about the ones that don't have N be a multiple of 4.
i'll break it down for you since i'm such a darl
N = number of groups
S = total number of things
X_i = number of objects in group i where i is a whole number from 1 to N and
S = Sum X_i i = 1 to N
N % 4 = 0
X(a) = 2 if a = 0 or X(a) = 3 if a = 1 and a can only equal 0 or 1
Re: Maths problem - number Ninjas needed!

ketamine wrote: Also, I'd just like to point out that girls "exist".
-
- Posts: 855
- Joined: Thu Jul 21, 2011 12:42 am
- Location: Colorado Springs, Colorado
Re: Maths problem - number Ninjas needed!
I feel retarded looking at your guys posts.
1+1 is 2.

1+1 is 2.
Soundcloud
Soundcloud
FREE DOWNLOADS ON MY SOUNDCLOUD.
http://www.facebook.com/daemthafknkim
http://www.soundcloud.com/daemthafknkim
Follow Twitter http://www.twitter.com/daemthafknkim Let me know who you are and I'll follow back!
Soundcloud
FREE DOWNLOADS ON MY SOUNDCLOUD.
http://www.facebook.com/daemthafknkim
http://www.soundcloud.com/daemthafknkim
Follow Twitter http://www.twitter.com/daemthafknkim Let me know who you are and I'll follow back!
-
- Posts: 3860
- Joined: Thu Aug 04, 2011 10:45 pm
- Location: Birmingham
Re: Maths problem - number Ninjas needed!
^ way to be a stereotype
Re: Maths problem - number Ninjas needed!
So is the aim to determine the minimum number of groups needed?
If so then I think I have a solution and could upload a dodgy .exe program today if you want.
Select Windows or Linux
If so then I think I have a solution and could upload a dodgy .exe program today if you want.
Select Windows or Linux

Re: Maths problem - number Ninjas needed!
LACE wrote:aww shame i missed this, that's what i get for having a life i guess but i've still managed to figure something out for you wubbz
Xi = {2,3} so as a function you could say X(0) = 2, X(1) = 3 and f(x) = X(x) where x is either 0 or 1.
so now you have S total things but the number of groups needs to be divisible by four yes?
put N to be the number of groups: then N % 4 = 0 and the % is the modulus which gives the remainder of N/4
umm you also got S = Sum of X_i from i = 1 to N.
there are alot of possible combos for the actual groups, there's no one formula to get all the x_i's as you've seen in this thread.
my suggestion to you though would be to look at different combos of different configurations of groups and forget about the ones that don't have N be a multiple of 4.
i'll break it down for you since i'm such a darl
N = number of groups
S = total number of things
X_i = number of objects in group i where i is a whole number from 1 to N and
S = Sum X_i i = 1 to N
N % 4 = 0
X(a) = 2 if a = 0 or X(a) = 3 if a = 1 and a can only equal 0 or 1

wub wrote:

sub.wise:.
slow down
slow down
epochalypso wrote:man dun no bout da 'nuum
-
- Posts: 6889
- Joined: Tue Dec 27, 2011 3:26 am
Re: Maths problem - number Ninjas needed!
fucking hell you guys are smart
butter_man wrote: who do you think taught you smoke tree's, OD'S, Ice cubes and DOC's?
God, thats who.

- Electric_Head
- Posts: 16958
- Joined: Tue May 11, 2010 9:59 am
- Location: South of Africa
- Contact:
Re: Maths problem - number Ninjas needed!
Do some phyiscs, you'll soon realize a page long equation is not always right.Reverb wrote:fucking hell you guys are smart





Who is online
Users browsing this forum: No registered users and 0 guests