Smallest square that begins with n: Difference between revisions

Added Easylang
(Add Refal)
(Added Easylang)
Line 1,170:
3136 324 3364 3481 35344 36 3721 3844 3969 400
41209 4225 4356 441 45369 4624 4761 484 49</pre>
 
=={{header|EasyLang}}==
<syntaxhighlight>
func f n .
n$ = n
repeat
xx = x * x
until substr xx 1 len n$ = n$
x += 1
.
return xx
.
for i = 1 to 49
write f i & " "
.
</syntaxhighlight>
{{out}}
<pre>
1 25 36 4 529 64 729 81 9 100 1156 121 1369 144 1521 16 1764 1849 196 2025 2116 225 2304 2401 25 2601 2704 289 2916 3025 3136 324 3364 3481 35344 36 3721 3844 3969 400 41209 4225 4356 441 45369 4624 4761 484 49
</pre>
 
=={{header|Excel}}==
Line 1,377 ⟶ 1,397:
| style="text-align:right" | 5041
|}
 
 
=={{header|F_Sharp|F#}}==
2,079

edits