MathDB
Integers whose digits are strictly increasing/decreasing

Source: Baltic Way 1993

June 15, 2012
algebra proposedalgebra

Problem Statement

Compute the sum of all positive integers whose digits form either a strictly increasing or strictly decreasing sequence.