[seqfan] question Re: List the dividers, sum the digits

Bob Selcoe rselcoe at entouchonline.net
Sun Nov 8 00:50:40 CET 2015


Hi Eric,

A bit confused on this.  Why does digsum of 10 = 1+1+0+2+5 = 9, and digsum 
13 = 1+13 = 14?

Cheers,
Bob S.

--------------------------------------------------
From: "Eric Angelini" <Eric.Angelini at kntv.be>
Sent: Saturday, November 07, 2015 4:46 PM
To: "Sequence Discussion list" <seqfan at list.seqfan.eu>
Subject: [seqfan] List the dividers, sum the digits

>
> Hello SeqFans,
> 1) list all dividers of A (1 and A included) ;
> 2) sum all digits of the above list ;
> 3) iterate
>
> Example for A=10:
> 10--> 1,10,2,5 dig.sum=9
> 9--> 1,9,3      dig.sum=13
> 13--> 1,13       dig.sum=14
> 14--> 1,14,2,7 dig.sum=15
> 15--> 1,15,3,5 dig.sum=15 (fixed point)
 




More information about the SeqFan mailing list