Hailstone sequence: Difference between revisions
m
→{{header|AppleScript}}: Typo correction.
(Added AppleScript solutions.) |
m (→{{header|AppleScript}}: Typo correction.) |
||
Line 660:
set n to 27
tell hailstoneSequence(
return {n:n, |length of sequence|:(its length), |first 4 numbers|:items 1 thru 4, |last 4 numbers|:items -4 thru -1}
end tell</lang>
|