Boustrophedon transform: Difference between revisions
m
trim output
m (→{{header|J}}: oops) |
m (trim output) |
||
Line 99:
println(label)
arr = boustrophedon(f, rang)
println(Int64.(arr[1:15]))
s = string(arr[1000])
println(s[1:20], " ... ", s[
end
</syntaxhighlight>{{out}}
<pre>
One followed by an infinite series of zeros -> A000111
61065678604283283233 ... 63588348134248415232 (2369 digits)
An infinite series of ones -> A000667
29375506567920455903 ... 86575529609495110509 (2370 digits)
(-1)^n: alternating 1, -1, 1, -1 -> A062162
12694307397830194676 ... 15354198638855512941 (2369 digits)
Sequence of prime numbers -> A000747
13250869953362054385 ... 82450325540640498987 (2371 digits)
Sequence of Fibonacci numbers -> A000744
56757474139659741321 ... 66135597559209657242 (2370 digits)
Sequence of factorial numbers -> A230960
13714256926920345740 ... 19230014799151339821 (2566 digits)
</pre>
|