MathDB
P1 Cono Sur 2021 - Guarani Numbers

Source: Cono Sur 2021 #1

December 1, 2021
combinatorycounting

Problem Statement

We say that a positive integer is guarani if the sum of the number with its reverse is a number that only has odd digits. For example, 249249 and 3030 are guarani, since 249+942=1191249 + 942 = 1191 and 30+03=3330 + 03 = 33. a) How many 20212021-digit numbers are guarani? b) How many 20232023-digit numbers are guarani?