RosettaCodeData/Task/Executable-library/J/executable-library-3.j

9 lines
246 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
require '~temp/hailseq.ijs'
9!:29]1
9!:27'main 0'
main=:3 :0
smoutput 'Finding most frequent hailstone sequence length for'
smoutput 'Hailstone sequences for whole numbers less than 100000:'
smoutput {:{.\:~ (#/.~,.~.) #@hailseq }.i.1e5
)