Any ideas on this? I googled it and got only answers inolving Excel, C++, etc...(adsbygoogle = window.adsbygoogle || []).push({});

A formula for finding the digit sum of a 2-digit number, or only a 3-digit number, would also be interesting.

I thought I had a start with this: For a 2-digit number xy, the sum of the digits = [itex](\frac{x}{10})\lfloor[/itex] + something. But I don't know how to isolate y.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Formula for sum of digits of a number

**Physics Forums | Science Articles, Homework Help, Discussion**