Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2007-10-20 20:09:32

heath
Guest

what would i use to figure this out

Math has never come easy to me so please bare with me. i'm trying to find out if i'm on the right track or not with this.

i have four 3 digit numbers which run from a value of 0-475

so say at there highest values they would look like this

475-475-475-475

what i want to do is mathematically find out all the different permutations[?] of those numbers, if that makes sense. permutations is what i've been looking at for this but it doesn't appear to handle multi digit values it sort of sticks to things like 123

123
132
213
231
312
321
etc

what i want is all the possible combinations of those combined.

from

0-333-421-55

to

175-22-345-402

to

etc

one thing i noticed with permutation was that if i was to use that and say just use my seperate four 3 digit numbers in one large number 475475475475 i would first have to list those out (BTW this is for a computer program but as i need the math type to work it out i figured the best place would be here) like 475475475475, 475475475474, 475475475473, 475475475472 etc which is well you get the point. and two how do i restrict the value of the digits to the value limit as in the first digits value is max 4 and the second is max 7 etc. anyway that's probably nothing to do with math.

to sum up i'm just looking for a formula like permutation that can work for what i need.

thanks in advance

big_smile

#2 2007-10-20 22:49:15

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: what would i use to figure this out

It might take a while, there are over fifty thousand million different combinations.


Why did the vector cross the road?
It wanted to be normal.

Offline

#3 2007-10-21 00:02:57

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: what would i use to figure this out

heath wrote:

i have four 3 digit numbers which run from a value of 0-475

Wouldn't that just be 476×476×476×476 ?
As mathsy said ... 51,336,683,776 of them


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#4 2007-10-22 02:36:05

heath
Guest

Re: what would i use to figure this out

i was struggling as i was trying to work it out from a programming point of view but all it is, is addition like in this excerpt (it has a name but i can't remember what it's called)

0    0    472
       
0    0    473
       
0    0    475
       
0    0    475
       
0    1    0
       
0    1    1
       
0    1    2
       
0    1    3
       
0    1    4
       
0    1    5
       
0    1    6


but i have a new problem which i'll post here and see if anyone can offer a point in the direction of a style of maths used to work something like this out

say i have one table 3 columns wide by 51,366 etc etc rows in length and i have another table 1000 columns wide and 800 rows in length

in the second table each cell is assigned a row of numbers from the first table, is there a formula to work out all the different possible assignments of rows?

big_smile

#5 2007-10-22 03:00:23

heath
Member
Registered: 2007-10-22
Posts: 1

Re: what would i use to figure this out

can't edit my above post sorry smile i've registered now so that don't happen again. i realized i answered my above problem already. all i need to do is use the same formula i used for the 475 combinations just on a much larger scale and instead of it being 475 it would be the total number of rows which is a bit nuts but thems the breaks.

if anyone can offer another way or some further reading material that would be appreciated.

cheers.

Last edited by heath (2007-10-22 03:01:43)

Offline

#6 2007-10-22 04:37:49

swwroadrat63
Member
Registered: 2007-10-22
Posts: 0

Re: what would i use to figure this out

How would I figure 2/3 of an amount like $17,657.25.  Thanks.

Offline

#7 2014-02-10 08:01:33

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: what would i use to figure this out

Hi;

Sorry I was late with this one:



Now do the division.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#8 2014-02-10 15:15:50

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: what would i use to figure this out

Wow, that's really late!


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#9 2014-02-10 17:39:10

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: what would i use to figure this out

I came on it while looking for something else.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB