(generator) ( k -- n )


Vocabulary
project-euler.186

Inputs
kan object


Outputs
nan object


Definition


: (generator) ( k -- n )
dup sq 300007 * 200003 - * 100003 + 1000000 rem ;