Results 1 to 10 of 14
Thread: A fun project
-
- Join Date
- 11-26-06
- Location
- Anywhere you want to be.
- Posts
- 3,946
- Post Thanks / Like
- Blog Entries
- 1
10-19-11, 01:16 AM #1A fun project
//sorry this seemed like the closet thing to a "math" forum :P
Ok lets say we have an "array" of size 10 (i.e. 0,1,2...9) in each spot there is to be a single digit number (i.e. 0-9)
Now, each number in a certain location means something
for example if in location [0] there was a number 3, then that would mean there are 3 zeros in the arry
another example, if in location [0] the number was 9, then that would mean there are 9 zeros,
the only problem with this is that in location [9] there would a zero.
Now the problem comes in, because if there is a zero in location [9] that would mean there would be zero 'nines' in the array.
But since the first location has a 9 in it, that must mean there is 1 nine.
Do you see how the game is played?
The objective of the game is to find the minimum number that can fit in this "array" all the way up to the maximum.
//confusing? just reply with what you do not understand and I will try and clarify the best I can.
-
-
- Join Date
- 11-26-06
- Location
- Anywhere you want to be.
- Posts
- 3,946
- Post Thanks / Like
- Blog Entries
- 1
10-19-11, 01:35 AM #3Re: A fun project
in what locations are the zero and six?
I am assuming zero in the first location and six in the second location
so the output would be 06111111 the only problem is that , that still leaves 2 locations open
I guess we could say that the smallest "number" is zero in each location because then there would be no numbers
lol i know it is obvious but I just wanted to state it lol.
-
-
- Join Date
- 11-26-06
- Location
- Anywhere you want to be.
- Posts
- 3,946
- Post Thanks / Like
- Blog Entries
- 1
10-19-11, 01:39 AM #5Re: A fun project
NOTE this is NOT my HOMEWORK
If this was my homework I would state so, I would not be ashamed of asking for help on my homework.
//oh and btw this has nothing to do with programming, I just used the word array because it was the only accurate way I could explain itLast edited by i8pptuakamonstercam; 10-19-11 at 01:40 AM.
-
-
-
- Join Date
- 11-26-06
- Location
- Anywhere you want to be.
- Posts
- 3,946
- Post Thanks / Like
- Blog Entries
- 1
10-19-11, 01:54 AM #8Re: A fun project
ok I think I found a new maximum
8000000010Last edited by i8pptuakamonstercam; 10-19-11 at 02:00 AM.
-
-
10-19-11, 01:59 AM #10
Re: A fun project
So as an easy check for a valid number, all of the digits have to sum up to 10, because that is the amount of numbers used to make the 10 digit number. I can't think of another number that works besides the one I posted. You can't use a number higher than 6.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks