amandaJoin Date: 2006-11-21 Post Count: 5925 |
give me really hard challenges!!
i will complete as many as possible within the next 5 years!!
doesn't have to be roblox related
but has to be programming related |
|
|
Taken from Project Euler:
The following iterative sequence is defined for the set of positive integers:
n → n/2 (n is even)
n → 3n + 1 (n is odd)
Using the rule above and starting with 13, we generate the following sequence:
13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1
It can be seen that this sequence (starting at 13 and finishing at 1) contains 10 terms. Although it has not been proved yet (Collatz Problem), it is thought that all starting numbers finish at 1.
Which starting number, under one million, produces the longest chain?
-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::] |
|
GoulstemJoin Date: 2012-07-04 Post Count: 7177 |
Make an in-game animation editor so that players can create their own animations for the game. |
|
Stefan631Join Date: 2010-12-23 Post Count: 1350 |
make minesweeper |
|
amandaJoin Date: 2006-11-21 Post Count: 5925 |
@swimguy777
number: 837799
chain length: 524 |
|
amandaJoin Date: 2006-11-21 Post Count: 5925 |
I solved it on my own, but I just googled it, someone else got the same number but a different chain length.
I most likely messed up and didn't include one. |
|
KorniakJoin Date: 2013-08-09 Post Count: 3538 |
Create the full version of Minecraft inside ROBLOX. |
|
|
@amanda
Nicely done. Google Project Euler if you want more challenges like that one.
-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::] |
|
|
g=1
Print the value of g without ever referencing it. |
|
Stefan631Join Date: 2010-12-23 Post Count: 1350 |
local a = 1
local name,value = debug.getlocal(1, 1)
print(name) |
|
|
getlocal is not a valid member of Script |
|
|
attempt to index global 'debug' (a nil value) |
|
Stefan631Join Date: 2010-12-23 Post Count: 1350 |
Nvm only works in real Lua. |
|
|
Make a pie
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881749
I'm noobtastic |
|
|
|
g=math.random(1,math.random(2,math.random(900,100000)))
Print the value of g without referencing 'g'. |
|
FragilityJoin Date: 2011-03-12 Post Count: 483 |
g=math.random(1,99999999)
print(getfenv()["\103"]) |
|
|
Technically referencing 'g', but you're solution is very close to mine. |
|
drager980Join Date: 2009-05-25 Post Count: 13385 |
g = 1
for i,v in pairs(getfenv()) do
print(v)
end
is that it or am i referencing it
AND THE TIGER GOES ROAR |
|
|
GoulstemJoin Date: 2012-07-04 Post Count: 7177 |
Find the millionth digit in pi |
|
|
Technically, drager is referencing it.
Explicitly stating the variable != referencing it. |
|