Eban numbers: Difference between revisions

m (aligned numbers better.)
Line 128:
 
=={{header|Julia}}==
I changed your program but not the output. You had used the common cut-n-paste error repeating the 10000
println("eban numbers up to and including 10000:
 
<lang Julia>
function iseban(n::Integer)
Line 144 ⟶ 147:
 
println("eban numbers up to and including 10000: ", count(iseban, 1:10000))
println("eban numbers up to and including 10000100000: ", count(iseban, 1:100000))
println("eban numbers up to and including 100001000000: ", count(iseban, 1:1000000))
println("eban numbers up to and including 1000010000000: ", count(iseban, 1:10000000))
println("eban numbers up to and including 10000100000000: ", count(iseban, 1:100000000))
println("eban numbers up to and including 100001000000000: ", count(iseban, 1:1000000000))
</lang>
 
Anonymous user