HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Just For Fun: little games with trigger

05-04-2006, 07:24 AM#1
illlusion
when you loaded the map in the game, you can do the followings for fun =P

1. enter "N" to calculate and display the integers which possess the interesting property that the sum of cube of every digit of the integer equal to itself. example: 1^3+5^3+3^3=153

2. enter "P<number>" to calculate and display all prime numbers within the number entered. (it may takes long time to calculate within a big number and of course there is a max limitaion of the number due to terminated trigger when code runs too much in single trigger )

3. enter "G<number>" to calculate and display equations that satisfy Goldbachs conjecture within the number entered.(this is only a test for Goldbachs conjecture, not a prove)

4. enter "m<number>" to set the size of a table ( <number> must less or equal to 11), then enter "f<number array>" to calculate and display a beautifull table in which each number is unrepeated both in row and column based on the original fixed mumber array entered.
example: if you want to fill the table below

**54*68**
4*******1
1*3*****9
*****3***
79******3
***978***
8*1***3*6
2*******7
**72*51**

just enter "m9", then enter "f**54*68**4*******11*3*****9*****3***79******3***978***8*1***3*62*******7**72*51**
", then it will display the table in the third picture.
Attached Images
File type: jpgprime number.jpg (93.1 KB)
File type: jpgGoldbachs conjecture.jpg (38.0 KB)
File type: jpgunrepeated array.jpg (23.6 KB)
Attached Files
File type: w3xmath games.w3x (19.6 KB)
05-04-2006, 08:20 AM#2
PipeDream
No Riemann hypothesis test? Pfff.
05-04-2006, 08:38 AM#3
illlusion
could you tell me what does Riemann hypothesis refer to? math is not my major subject after all.=P
05-04-2006, 08:43 AM#4
vile
I cant see how this is any fun for those who arent good with math.. :)
I dont even understand what you were talking about.
05-04-2006, 08:59 AM#5
illlusion
sorry for my poor speaking
however, the fourth one dosen't need any math. it's just a normal filling game to make the table unrepeated both in row and column
05-04-2006, 09:01 AM#6
Whitehorn
What's http://bbs.uuu9.com/ ?
05-04-2006, 09:09 AM#7
illlusion
it's also a we forum i once posted there. and i think it's not a very high-standard forum for we, so i come to here. =P
maybe i should erase that sigh in the pic.