[seqfan] Re: question Re: List the dividers, sum the digits
Neil Sloane
njasloane at gmail.com
Sun Nov 8 17:22:40 CET 2015
Eric,
Bob is right, I think
You should have said 13 has divisors 1 and 13 so the digit sum is 5, not 14
Best regards
Neil
Neil J. A. Sloane, President, OEIS Foundation.
11 South Adelaide Avenue, Highland Park, NJ 08904, USA.
Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ.
Phone: 732 828 6098; home page: http://NeilSloane.com
Email: njasloane at gmail.com
On Sat, Nov 7, 2015 at 6:50 PM, Bob Selcoe <rselcoe at entouchonline.net>
wrote:
> 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)
>>
>
>
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/
>
More information about the SeqFan
mailing list