Example code for dealing with subprime Fibonacci sequences