how to make a list with size n in racket
Use "build-list":
(build-list n proc): Creates a list of n elements by applying proc to
the integers from 0 to (sub1 n) in order. If lst is the resulting list,
then (list-ref lst i) is the value produced by (proc i).