2 edited body

# Julia, 43 bytes

n->for i=[9:-1:2,23:9] println(base(i,n))end


This creates an unnamed function that accepts and integer and prints to STDOUT on separate lines. The base function takes two integers: a base (i) and a number (n) and returns the string representation of the number in the given base. Here we just loop through the required bases and print.

# Julia, 43 bytes

n->for i=[9:-1:2,2:9] println(base(i,n))end


This creates an unnamed function that accepts and integer and prints to STDOUT on separate lines. The base function takes two integers: a base (i) and a number (n) and returns the string representation of the number in the given base. Here we just loop through the required bases and print.

# Julia, 43 bytes

n->for i=[9:-1:2,3:9] println(base(i,n))end


This creates an unnamed function that accepts and integer and prints to STDOUT on separate lines. The base function takes two integers: a base (i) and a number (n) and returns the string representation of the number in the given base. Here we just loop through the required bases and print.

1

# Julia, 43 bytes

n->for i=[9:-1:2,2:9] println(base(i,n))end


This creates an unnamed function that accepts and integer and prints to STDOUT on separate lines. The base function takes two integers: a base (i) and a number (n) and returns the string representation of the number in the given base. Here we just loop through the required bases and print.