<div id="comment:0"></div> Return values of type `int` lack useful integer methods such as `factor()`. We add a section to the developer manual recommending to return integers as `Integer`. CC: @slel Component: **documentation** Keywords: **integer** Author: **Kwankyu Lee, Samuel Lelièvre** Branch/Commit: **[`5d54501`](https://github.com/sagemath/sagetrac-mirror/commit/5d545019639407e60985c9112ba70685acc1d26c)** Reviewer: **Nils Bruin, Samuel Lelièvre, Kwankyu Lee** _Issue created by migration from https://trac.sagemath.org/ticket/32200_