On the Subject of Funny Numbers

Weed chungus.

  • The following numbers are always funny: 3, 13, 21, 25, 69, 420, 522, 777, 789, 6969, 8008, 42069, 58008, 69420, 80085.
  • The following numbers are never funny: 0, 1, 19, 24, 68, 70, 419, 421, 666, 2003.
  • There are three to five stages to this module, with a new number (with increasing amount of digits) being shown each time.
  • If the number is a multiple of any funny number, add 1 funni point per funny number that it is divisible by.
  • If the number is a multiple of any unfunny number, subtract 1 funni point per unfunny number that it is divisible by.
  • If the number is even subtract one funni point, otherwise add 1 funni point.
  • If the number is prime, add 2 funni points.
  • If the number is a perfect square, subtract 2 funni points.
  • If the number is the square of a prime, subtract another 2 funni points.
  • If the amount of funni points is positive, press the "Funny" button. Otherwise press the "Unfunny" button.