Perl, 38 bytes
Disclaimer: The restrictions of the changed question are not too clear to me.
for$i(0..19){print$_.0 x$i.$"for 1..5}
The code uses variables with integer values except for $"
which is used for the separation space. It can be easily replaced by ' '
(+1 byte).
Mathematical operations are not used, the code only contains string concatenations and the repetition operator.
The result are 100 numbers:
1 2 3 4 5 10 20 30 40 50 100 200 300 400 500 1000 2000 3000 4000 5000 10000 20000 30000 40000 50000 100000 200000 300000 400000 500000 1000000 2000000 3000000 4000000 5000000 10000000 20000000 30000000 40000000 50000000 100000000 200000000 300000000 400000000 500000000 1000000000 2000000000 3000000000 4000000000 5000000000 10000000000 20000000000 30000000000 40000000000 50000000000 100000000000 200000000000 300000000000 400000000000 500000000000 1000000000000 2000000000000 3000000000000 4000000000000 5000000000000 10000000000000 20000000000000 30000000000000 40000000000000 50000000000000 100000000000000 200000000000000 300000000000000 400000000000000 500000000000000 1000000000000000 2000000000000000 3000000000000000 4000000000000000 5000000000000000 10000000000000000 20000000000000000 30000000000000000 40000000000000000 50000000000000000 100000000000000000 200000000000000000 300000000000000000 400000000000000000 500000000000000000 1000000000000000000 2000000000000000000 3000000000000000000 4000000000000000000 5000000000000000000 10000000000000000000 20000000000000000000 30000000000000000000 40000000000000000000 50000000000000000000
Ungolfed:
for $i (0..19) { # 20 * 5 = 100 numbers
for $_ (1..5) {
print $_ # first digit
. 0 x $i # zeros
. $" # separator (space)
}
}
+
and-
only for mathematical calculations" So is this a [restricted-source] challenge? \$\endgroup\$+
and-
only for mathematical calculations” – Does this mean that I must not use+
and-
for something other than mathematical calculations or does this mean that I must not use any other mathematical operators than+
and-
? \$\endgroup\$