01-23-04 10:14 PM
Hi Måns!
On 16 Jan 04 at 22:45, "Måns" (Måns Rullgård) wrote:[QUOTE]
Måns> BTW, did you mean a sequence of squares, rather than powers of two?
Aren't these the same? Anyway, 2 is not a square of an integer.
perl -le '1 while ( $ARGV[0] -= length ( $_ = ++$x * $x)) > 0; print substr
$_, length($_)+$ARGV[0]-1, 1;'
--
Sincerely,
Dmitry
--- www.karasik.eu.org ---
He who dies with most the toys wins
[ Post a follow-up to this message ]
|