|
Home > Archive > Unix Programming > January 2004 > Re: Number sequences, programming, preparing for Programming Competition
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Number sequences, programming, preparing for Programming Competition
|
|
| Dmitry Karasik 2004-01-23, 5:14 pm |
| Hi Måns!
On 18 Jan 04 at 23:41, "Måns" (Måns Rullgård) wrote:[QUOTE][color=darkred]
Måns> No, squares are n^2, powers of two are 2^n.
Hmm.. always thought that n in a power of 2 is n^2, not vice versa.
--
Sincerely,
Dmitry
--- www.karasik.eu.org ---
He who dies with most the toys wins
| |
| Dmitry Karasik 2004-01-23, 5:23 pm |
| Hi Måns!
On 18 Jan 04 at 23:41, "Måns" (Måns Rullgård) wrote:[QUOTE][color=darkred]
Måns> No, squares are n^2, powers of two are 2^n.
Hmm.. always thought that n in a power of 2 is n^2, not vice versa.
--
Sincerely,
Dmitry
--- www.karasik.eu.org ---
He who dies with most the toys wins
| |
| Dmitry Karasik 2004-01-23, 5:36 pm |
| Hi Måns!
On 18 Jan 04 at 23:41, "Måns" (Måns Rullgård) wrote:[QUOTE][color=darkred]
Måns> No, squares are n^2, powers of two are 2^n.
Hmm.. always thought that n in a power of 2 is n^2, not vice versa.
--
Sincerely,
Dmitry
--- www.karasik.eu.org ---
He who dies with most the toys wins
|
|
|
|
|