x(0) = seed
x(1) = (x(0)*a + c) % m
...
x(n+1) = (x(n)*a + c) % m
Actually it is a question if we are willing to relax the rules on word order, punctuation and dropped words for non-English speakers just a bit.You didn't ask a question, so it's hard to know how to help you. Please read the forum guidelines on how to post good questions to improve your chances of getting good help.
There is a huge amount of literature on the topic of random number generation and it has been well-studied over the last half century. As always, start with Knuth. If you're just after a plug and chug algorithm, consult the Numerical Recipes books. Is there any reason you can't use the routines from your standard library?