# How many 4-digit numbers can be formed with the digits

Question:

How many 4-digit numbers can be formed with the digits 0, 2, 3, 4, 5 when a digit may be repeated any numbers of time in any arrangement?

Solution:

Let Suppose 4 digit number as 4 boxes as shown below. First Box is at

$1000^{\text {th }}$ place, the Second box is at $100^{\text {th }}$ place, the Third box is at $10^{\text {th }}$ place, and Fourth box is at $1^{\text {st }}$ place. The $1^{\text {st }}$ box can be filled with four numbers $(2,3,4,5)$ if we include 0 in the 1 stbox then it becomes 3 digit number(i.e. 0234 is 3 digit number, not 4 digits)

The $2^{\text {nd }}$ box can be filled with five numbers $(0,2,3,4,5)$ as repetition is allowed.

Similarly, the $3^{\text {rd }}$ box can be filled with five numbers $(0,2,3,4,5)$ as repetition is allowed.

Similarly, the $4^{\text {th }}$ box can be filled with five numbers $(0,2,3,4,5)$ as repetition is allowed.

Total number of ways is $4 \times 5 \times 5 \times 5=500$
{"ft_lang_label":"__label__en","ft_lang_prob":0.85916454,"math_prob":0.99993885,"size":925,"snap":"2023-14-2023-23","text_gpt3_token_len":305,"char_repetition_ratio":0.16612378,"word_repetition_ratio":0.19879518,"special_character_ratio":0.3762162,"punctuation_ratio":0.14864865,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99966955,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-02T07:53:14Z\",\"WARC-Record-ID\":\"<urn:uuid:28a9a574-3888-4fe8-9c97-8d4e84cfae3b>\",\"Content-Length\":\"25756\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:29667197-f18d-4147-be87-c0361f4151bb>\",\"WARC-Concurrent-To\":\"<urn:uuid:9d894a70-93b4-4362-89eb-25c1d0420022>\",\"WARC-IP-Address\":\"104.21.61.187\",\"WARC-Target-URI\":\"https://www.esaral.com/q/how-many-4-digit-numbers-can-be-formed-with-the-digits-51470\",\"WARC-Payload-Digest\":\"sha1:NHUJZDRVQ6KVRTP6FNBV2B272UTMBN6Q\",\"WARC-Block-Digest\":\"sha1:D2DNLXT7FECW5LZL7CFSOOIUHX7VLMYM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224648465.70_warc_CC-MAIN-20230602072202-20230602102202-00716.warc.gz\"}"}