Home
GEEK SYSTEM
HINTS FOR THE NERD TEST

MULTIPLES OF 7

To know whether the number X is a multiple of 7, one can use the following method: Example with X = 1432:
MULTIPLES OF 9

To know whether the number X is a multiple of 9, simply add all the digits of X and check whether the result is a multiple of 9.
Example with X = 3573:
MULTIPLES OF 11

To know whether the number X is a multiple of 11, simply alternatively add and remove all the digits of X, then check whether the result is 0 or 11.
Example with X = 6237:
MULTIPLES OF 13

To know whether the number X is a multiple of 13, one can use the same method as to check the multiples of 7 except that the last digit has to be multiplied by 4 instead of 5.
Example with X = 1586:
TAXICAB NUMBERS

The Nth taxicab number Ta(N) is the smallest number that can be expressed as a sum of two positive cubes in N distinct ways; here are the first 3 taxicab numbers:
SQUARE ROOT OF A POWER OF 2

The square root of X = 2^N is Y = 2^(N / 2), which can be denoted "1 << (N / 2)" in C language.
Examples:
ROT13 ENCODING

Rot13 is a basic substitution cipher: each alphabetic character of the string to be encoded is replaced by the letter 13 places further along in the alphabet, wrapping around if necessary ("A" becomes "N", "M" becomes "Z", etc.). One can use the following lookup table:

ABCDEFGHIJKLMNOPQRSTUVWXYZ
NOPQRSTUVWXYZABCDEFGHIJKLM

ULTIMATE QUESTION OF LIFE, THE UNIVERSE, AND EVERYTHING

How come you don't know the Hitchhiker's Guide to the Galaxy?!