Monday, October 25, 2010
Saturday, October 9, 2010
Worst use of time
"One of the very worst uses of time is to do something very well that need not be done at all" - simple rule that everyone knows but rarely follow :-)
As Stephen Covey said: "Before you begin scrambling up the ladder of success, make sure that it is leaning against the right building"
As Stephen Covey said: "Before you begin scrambling up the ladder of success, make sure that it is leaning against the right building"
Thursday, October 7, 2010
Prime Numbers
All prime numbers are of the form 6k +/- 1 (except 2 and 3) where k is a positive integer ( k > 0 ).
It is easy to verify!
6k + 1 - might be prime
6k + 2 = 2(3k+1) so 2 is a factor
6k + 3 = 3(2k+1) so 3 is a factor
6k + 4 = 2(2k+2) so 2 is a factor
6k + 5 = might be prime
6k + 5 can also be written as 6(k-1) + 5 = 6k - 1.
So, every prime is of the form 6k +/- 1
It is easy to verify!
6k + 1 - might be prime
6k + 2 = 2(3k+1) so 2 is a factor
6k + 3 = 3(2k+1) so 3 is a factor
6k + 4 = 2(2k+2) so 2 is a factor
6k + 5 = might be prime
6k + 5 can also be written as 6(k-1) + 5 = 6k - 1.
So, every prime is of the form 6k +/- 1
Subscribe to:
Posts (Atom)