Tag Archives: Math

Number to Word

10 = deca 100 = hecto 1,000 = kilo 1,000,000 = mega 1,000,000,000 = giga 1,000,000,000,000 = tera 1,000,000,000,000,000 = peta 1,000,000,000,000,000,000 = exa 1,000,000,000,000,000,000,000 = zetta 1,000,000,000,000,000,000,000,000 = yotta via

Posted in Fun | Tagged | 1 Comment

Swap without Temporary Variable

When we’re programming, if we want to swap values of two integer values, the “normal” way we do it would look like: x = 5 y = 3 temp = x x = y y = temp We need a … Continue reading

Posted in Programming | Tagged | Leave a comment

A Math Problem and the Answer

Problem: Two prime numbers (>=5) and there are one and only one number between them, such as (5, 7), (11, 13), (17, 19), etc.. Prove the sum of such two prime numbers can always be divided by 6. Answer: All … Continue reading

Posted in Discovery | Tagged | 2 Comments