Re: [PrimeNumbers] Sum of products of digit and their position in integers
- --- On Sat, 2/7/09, Cino Hilliard <hillcino368@...> wrote:
> The sum of the digits times the position of the digits in nThat's unconventional. Normally indices will match the power, so d(n)*10^n + ... + d(0).
> appears to produce the integers which include the prime numbers.
> Let n = d(1)d(2)...d(n) where d(1),d(2),...d(n) are the
> digits of n.
> We can also write n = d(1)10^n+d(2)^(n-1)+...+d(1)10 + d(0)
> andUg. That's not what I imagined. I imagined the above in my notation, or d(n)*1 + ... + d(1)*n in your notation, such that the units are always weighted 1.
> Sumdigpos(n) = d(1)*1+d(2)*2+...+d(n)*n.
> I want to prove Sum(n) generates the integers and thereforeTo yield m, use a m-1 digit number, with a 1 in positions m-1 (worth 1), and
> all prime numbers as n approaches infinity.
a 1 in position 1 (worth m-1), and zeroes elsewhere. Sum = m.