Recursive prime checking



Is it possible witha given number ?
I am stuck because the return value is doubled not singled. thanks

.