NestList

The documentation for NestList is clear, but it isn't immediatly clear when one might want to use NestList. I give a usefule example in the next cell which efficiently makes a list of the ten smallest prime numbers that are larger than 10^15.

Created by Mathematica (May 16, 2004)