For example, to return the 10,000th prime number I could write:
require \'prime\' Prime.first(10000).last #=> 104729
But creating a huge
The closest thing I can think of to a hypothetical at method is drop, which skips the indicated number of elements. It tries to return an actual array though so you need to combine it with lazy if you are using with infinite sequences, e.g.
at
drop
Prime.lazy.drop(9999).first