Cullen and Woodall numbers: Difference between revisions
Content added Content deleted
imported>Maxima enthusiast No edit summary |
(easylang) |
||
Line 619: | Line 619: | ||
1 7 23 63 159 383 895 2047 4607 10239 22527 49151 106495 229375 491519 1048575 2228223 4718591 9961471 20971519 |
1 7 23 63 159 383 895 2047 4607 10239 22527 49151 106495 229375 491519 1048575 2228223 4718591 9961471 20971519 |
||
</pre> |
</pre> |
||
=={{header|EasyLang}}== |
|||
<syntaxhighlight lang="easylang"> |
|||
for n = 1 to 20 |
|||
write n * pow 2 n + 1 & " " |
|||
. |
|||
print "" |
|||
for n = 1 to 20 |
|||
write n * pow 2 n - 1 & " " |
|||
. |
|||
print "" |
|||
</syntaxhighlight> |
|||
=={{header|F_Sharp|F#}}== |
=={{header|F_Sharp|F#}}== |