@Adnan The dictionary doesn't seem to work anymore. “‚ï“, “‚ï or '‚ï (which should all be "world") gives the same Reading.Dictionary.dictionary error in the new version.
Accumulating iterate. When acting on a dyadic link d and called with
arguments x and y, the resulting quicklink executes
"x, y = d(x, y), x" n times, returning all intermediate values of x.
05AB1E, 10 bytes
2λλOD₁+ÅNα
Try it online!
This only works in the non-legacy version, the Elixir rewrite. Outputs an infinite stream of integers. There are some bugs with the prime test that have been fixed in the latest commits, but are not yet live on TIO. It does work locally, though. Here...