Hostname: page-component-7479d7b7d-m9pkr Total loading time: 0 Render date: 2024-07-11T21:33:10.312Z Has data issue: false hasContentIssue false

Searching for digital invariants

Published online by Cambridge University Press:  01 August 2016

Don Cowell*
Affiliation:
Department of Computing and Mathematical Sciences, University of Greenwich, London SE18 6PF

Extract

As an elementary programming exercise I often ask students to find all three digit numbers equal to the sum of the cubes of their digits, for example 153 = 13 + 53 + 33. This is the usual solution:

Type
Articles
Copyright
Copyright © The Mathematical Association 1996

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

1. Wolfram, S. Mathematica – A System for Doing Mathematics by Computer (Second Edition), Addison-Wesley, Redwood City, California (1991).Google Scholar