how to tackle this question?

Let's define an "A type" number as an integer that follows one or more of the conditions listed below.

Is a mutiple of 3.
Has a "3" in its representation, if written using the decimal system.
E.g. 9, 31, 42, 135 are all "A type" numbers.

WTF do they mean having 3 when represented in decimal system I was taking the test and came across this question

Edit: find the sum of A-type between 1 to 33333

Comments (3)