<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Chandler asked a great question -- is there a limit to the size
of the happy number inputs. I am going to say yes -- with the
limits being between 1 and 2147483647. That should make make it
possible to read your numbers into integers without any
difficulty.</p>
<p>Be prepared though -- you could have scenarios where the numbers
computed in your series could grow to larger than this so you may
want to consider using larger integer types for the actual
computation phase.</p>
<div class="moz-signature">-- <br>
<b>Andrew J. Pounds, Ph.D.</b><br>
<i>Professor of Chemistry and Computer Science</i><br>
<i>Director of the Computational Science Program</i><br>
<i>Mercer University, Macon, GA, 31207 (478) 301-5627 </i></div>
</body>
</html>