
Write methods to implement the multiply, substract and divide operations for integers, using only the add operator.

Hint:
 a + b => a + negate(b)
 a * b => add b a times
 x = a /...

Hint:
Mathematics and Probability
Problems related to sequence generation and finding if an element fits in a sequence.
Problems

Generate the below sequence with n elements.
 1, 10, 11, 100, 110, 111, 1000.
 ...
In mathematics, the sieve of Eratosthenes is an algorithm for finding all prime numbers up to any given limit.
It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the multiples of 2...
Fibonacci numbers or Fibonacci sequence
In mathematics, the Fibonacci numbers or Fibonacci sequence are the numbers in the following integer sequence:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...
...