Jump to content

Reverse Fibonacci sequence


Ondrej Janicko

Recommended Posts

8 minutes ago, Ondrej Janicko said:

It is suming the digits in numbers.

https://en.wikipedia.org/wiki/Digit_sum

From your link

Quote

In mathematics, the digit sum of a given integer is the sum of all its digits (e.g. the digit sum of 84001 is calculated as 8+4+0+0+1 = 13).

Following the example

9 + 8 + 7 = 24

You need to provide further explanation.

 

Link to comment
Share on other sites

1 minute ago, Ondrej Janicko said:

Well, the Wikipedia article is only for ilustration.

The core principle I described above. It is repeating suming digits till to number less 10. That is all. Simple and clear. Is't it?

 

 

Yes thank you, it is now simple and clear what you are doing

But Wiki clearly did not do that

Quote

(e.g. the digit sum of 84001 is calculated as 8+4+0+0+1 = 13).

In particular they did not add 1 + 3 = 4

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.