sum of 5-digit numbers with digits 1,2,5
Source: Chile Finals 2013 L2 p1
October 5, 2022
combinatoricsDigitsnumber theory
Problem Statement
Find the sum of all -digit positive integers that they have only the digits , and , none repeated more than three consecutive times.