- #1

- 1

- 0

## Homework Statement

Given a positive integer n written in decimal form, the alternating sum of the digits of n is obtained by starting with the right-most digit, subtracting the digit immediately to its left, adding the next digit to the left, subtracting the next digit and so forth. For example, the alternating sum of the digits of 180,928 is 8-2+9-0+8-1= 2. Justify the fact that for any nonnegative integers n, if the alternating sum of the digits of n is divisible by 11, then n is divisible by 11.

## Homework Equations

There is no relevant equations. The topic is direct proof and counterexample

## The Attempt at a Solution

By exhaustion, it works, but I did not find any algebraic way to prove it.