Hi CF Community,
I have written a couple of pieces on randomized algorithms domain. Although not directly relevant to competitive programming, I believe a large part of audience here might find this stuff cool and engaging.
Hashing — When you want chaos (Estimating set sizes using hashing)
When Probability Guarantees Certainty (Probabilistic Methods)
Feedback is welcome!







instead of the trivial
.
with the positive x axis in the anti clockwise direction.
in anti clockwise direction with respect to positive x axis.
degree with respect to positive x axis.
which are basically the points of the 
are defined as
, where
goes through all the numbers from
is already a fact using Fermat's Little Theorem which states that
if

when
, and as
then
which can be generalised to
, so lets put
where

instead of the trivial
can be shown like this
Graphically see the roots of unity in a circle then this is quite intuitive.
(Proved above)
(Proved above) 

Sum of a G.P of

