IMO 1982 LL FIN23

Determine the sum of all positive integers whose digits (in base

IMO 1982 LL FIN23

Origin: FIN

Problem

Determine the sum of all positive integers whose digits (in base ten) form either a strictly increasing or a strictly decreasing sequence.