Rosetta Code

Smith numbers

Detect Smith numbers by comparing the digit sum of a composite integer with the digit sum of its prime factors.

Edit the source, then Run. Checks start after your first Run. Ctrl/⌘ + Enter runs; Tab indents. Preview services use sample data and never contact a real service.

rosettacode/popular/smith_numbers.vibe
Output
Click Run example to see the result.

Code checks

Run once to load the checker. Your code stays in this browser.