hbsv,
<script>
function getADownArrowOf(n) {
var c = [];
for (var i = n*2-1; i >= 1; i -= 2) {
var a = "";
for (var j = 0; j <= i / 2; j++) a += (j + 1) % 10;
for (var j = i / 2 | 0; j--;) a += (j + 1) % 10;
c.push(a)
}
return c
};
document.write(getADownArrowOf(1)+"<br>");
document.write(getADownArrowOf(3)+"<br>");
document.write(getADownArrowOf(5)+"<br>");
document.write(getADownArrowOf(7)+"<br>");
</script>