Hardy's Numbers

Type "help hardy".
1K Downloads
Updated Mon, 09 Jun 2003 09:45:53 +0000

No License

Hardy who discovered the mathematical genius in Ramanujan was a great mathematician himself. He once said there are only four numbers whose sum of the cubes of their individual digits add up to the number itself. If 153 is the number,

(1^3)+(5^3)+(3^3)=153.

This program will calculate those numbers.

Cite As

Prabhakar Subrahmanyam (2024). Hardy's Numbers (https://www.mathworks.com/matlabcentral/fileexchange/3561-hardy-s-numbers), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0