Skip to main content
clarified the question according to the comments
Source Link
Guntram
  • 4.3k
  • 4
  • 28
  • 43

Sum Finding integers whose sum of digits of number A which equals the sum of the digits of x*Aa multiple of them

For a given integer $x>0$, I need to find all decimal numbers $a1,a2,a3,...,an$ in a range [0;integers $10^15$]$a \in [0, 10^{15}]$ which have the following property: the digit sum of $a1$$a$ equals the digit sum of $x*a1$ for any decimal number $x>0$$x\cdot a$.

I found this link http://mathworld.wolfram.com/CastingOutNines.html which looks quite relevant to my task, but I can't figure out how to apply it.

Any ideas?

Sum of digits of number A which equals sum of digits of x*A

I need to find all decimal numbers $a1,a2,a3,...,an$ in a range [0; $10^15$] which have following property: digit sum of $a1$ equals digit sum of $x*a1$ for any decimal number $x>0$.

I found this link http://mathworld.wolfram.com/CastingOutNines.html which looks quite relevant to my task, but I can't figure out how to apply it.

Any ideas?

Finding integers whose sum of digits equals the sum of the digits of a multiple of them

For a given integer $x>0$, I need to find all integers $a \in [0, 10^{15}]$ which have the following property: the digit sum of $a$ equals the digit sum of $x\cdot a$.

I found this link http://mathworld.wolfram.com/CastingOutNines.html which looks quite relevant to my task, but I can't figure out how to apply it.

Any ideas?

removed irrelevant comm alg tag
Link
Yemon Choi
  • 25.8k
  • 9
  • 69
  • 156
added 1 characters in body; edited tags
Source Link
Jull
  • 13
  • 5

I need to find all decimal numbers $a1,a2,a3,...,an$ in a range [0; $10^9$$10^15$] which have following property: digit sum of $a1$ equals digit sum of $x*a1$ where $x$ is somefor any decimal number $x>0$.

I found this link http://mathworld.wolfram.com/CastingOutNines.html which looks quite relevant to my task, but I can't figure out how to apply it.

Any ideas?

I need to find decimal numbers $a1,a2,a3,...,an$ in a range [0; $10^9$] which have following property: digit sum of $a1$ equals digit sum of $x*a1$ where $x$ is some decimal number.

I found this link http://mathworld.wolfram.com/CastingOutNines.html which looks quite relevant to my task, but I can't figure out how to apply it.

Any ideas?

I need to find all decimal numbers $a1,a2,a3,...,an$ in a range [0; $10^15$] which have following property: digit sum of $a1$ equals digit sum of $x*a1$ for any decimal number $x>0$.

I found this link http://mathworld.wolfram.com/CastingOutNines.html which looks quite relevant to my task, but I can't figure out how to apply it.

Any ideas?

Source Link
Jull
  • 13
  • 5
Loading