Skip to main content
edited title
Link
mrz
  • 11.8k
  • 2
  • 26
  • 85

The integer ababab (a,b>0) is always divisible by 7, without restremainder

added 6 characters in body; edited tags
Source Link
Artes
  • 57.9k
  • 13
  • 159
  • 247

The integer ababab (a>0,b>0)$ababab$ $(a>0,b>0)$ is always divisible by 7$7$, without rest.

I tried to prove this by:

Solve[Mod[(a*10^5 + b*10^4 + a*10^3 + b*10^2 + a*10^1 + b), 7] == 0, {a, b}, PositiveIntegers]

I expected a True as result. What do I wrong?

What does the result show?

$\{\{a\to \fbox{$7 c_1\text{ if }(c_2|c_1)\in \mathbb{Z}\land c_1\geq 1\land c_2\geq 0$},b\to \fbox{$7 c_2+1\text{ if }(c_2|c_1)\in \mathbb{Z}\land c_1\geq 1\land c_2\geq 0$}\},...\}$

The integer ababab (a>0,b>0) is always divisible by 7, without rest.

I tried to prove this by:

Solve[Mod[(a*10^5 + b*10^4 + a*10^3 + b*10^2 + a*10^1 + b), 7] == 0, {a, b}, PositiveIntegers]

I expected a True as result. What do I wrong?

What does the result show?

$\{\{a\to \fbox{$7 c_1\text{ if }(c_2|c_1)\in \mathbb{Z}\land c_1\geq 1\land c_2\geq 0$},b\to \fbox{$7 c_2+1\text{ if }(c_2|c_1)\in \mathbb{Z}\land c_1\geq 1\land c_2\geq 0$}\},...\}$

The integer $ababab$ $(a>0,b>0)$ is always divisible by $7$, without rest.

I tried to prove this by:

Solve[Mod[(a*10^5 + b*10^4 + a*10^3 + b*10^2 + a*10^1 + b), 7] == 0, {a, b}, PositiveIntegers]

I expected a True as result. What do I wrong?

What does the result show?

$\{\{a\to \fbox{$7 c_1\text{ if }(c_2|c_1)\in \mathbb{Z}\land c_1\geq 1\land c_2\geq 0$},b\to \fbox{$7 c_2+1\text{ if }(c_2|c_1)\in \mathbb{Z}\land c_1\geq 1\land c_2\geq 0$}\},...\}$

Became Hot Network Question
Became Hot Network Question
Became Hot Network Question
Became Hot Network Question
Tweeted twitter.com/StackMma/status/1496137719449333763
added tags
Link
Syed
  • 59.5k
  • 5
  • 40
  • 95
Source Link
mrz
  • 11.8k
  • 2
  • 26
  • 85
Loading