Four digit codes

Given the digits 0-7. If repetition is not allowed, how many four-digit codes that are greater than 2000 and divisible by 4 are possible?

Correct answer:

n =  310

Step-by-step explanation:

n1=2016 n2=2036 n3=2056 n4=2064 n5=2076 n6=2104 n7=2136 n8=2140 n9=2156 n10=2160 n11=2164 n12=2176 n13=2304 n14=2316 n15=2340 n16=2356 n17=2360 n18=2364 n19=2376 n20=2416 n21=2436 n22=2456 n23=2460 n24=2476 n25=2504 n26=2516 n27=2536 n28=2540 n29=2560 n30=2564 n31=2576 n32=2604 n33=2640 n34=2704 n35=2716 n36=2736 n37=2740 n38=2756 n39=2760 n40=2764 n41=3012 n42=3016 n43=3024 n44=3052 n45=3056 n46=3064 n47=3072 n48=3076 n49=3104 n50=3120 n51=3124 n52=3140 n53=3152 n54=3156 n55=3160 n56=3164 n57=3172 n58=3176 n59=3204 n60=3216 n61=3240 n62=3256 n63=3260 n64=3264 n65=3276 n66=3412 n67=3416 n68=3420 n69=3452 n70=3456 n71=3460 n72=3472 n73=3476 n74=3504 n75=3512 n76=3516 n77=3520 n78=3524 n79=3540 n80=3560 n81=3564 n82=3572 n83=3576 n84=3604 n85=3612 n86=3620 n87=3624 n88=3640 n89=3652 n90=3672 n91=3704 n92=3712 n93=3716 n94=3720 n95=3724 n96=3740 n97=3752 n98=3756 n99=3760 n100=3764 n101=4012 n102=4016 n103=4032 n104=4036 n105=4052 n106=4056 n107=4072 n108=4076 n109=4120 n110=4132 n111=4136 n112=4152 n113=4156 n114=4160 n115=4172 n116=4176 n117=4216 n118=4236 n119=4256 n120=4260 n121=4276 n122=4312 n123=4316 n124=4320 n125=4352 n126=4356 n127=4360 n128=4372 n129=4376 n130=4512 n131=4516 n132=4520 n133=4532 n134=4536 n135=4560 n136=4572 n137=4576 n138=4612 n139=4620 n140=4632 n141=4652 n142=4672 n143=4712 n144=4716 n145=4720 n146=4732 n147=4736 n148=4752 n149=4756 n150=4760 n151=5012 n152=5016 n153=5024 n154=5032 n155=5036 n156=5064 n157=5072 n158=5076 n159=5104 n160=5120 n161=5124 n162=5132 n163=5136 n164=5140 n165=5160 n166=5164 n167=5172 n168=5176 n169=5204 n170=5216 n171=5236 n172=5240 n173=5260 n174=5264 n175=5276 n176=5304 n177=5312 n178=5316 n179=5320 n180=5324 n181=5340 n182=5360 n183=5364 n184=5372 n185=5376 n186=5412 n187=5416 n188=5420 n189=5432 n190=5436 n191=5460 n192=5472 n193=5476 n194=5604 n195=5612 n196=5620 n197=5624 n198=5632 n199=5640 n200=5672 n201=5704 n202=5712 n203=5716 n204=5720 n205=5724 n206=5732 n207=5736 n208=5740 n209=5760 n210=5764 n211=6012 n212=6024 n213=6032 n214=6052 n215=6072 n216=6104 n217=6120 n218=6124 n219=6132 n220=6140 n221=6152 n222=6172 n223=6204 n224=6240 n225=6304 n226=6312 n227=6320 n228=6324 n229=6340 n230=6352 n231=6372 n232=6412 n233=6420 n234=6432 n235=6452 n236=6472 n237=6504 n238=6512 n239=6520 n240=6524 n241=6532 n242=6540 n243=6572 n244=6704 n245=6712 n246=6720 n247=6724 n248=6732 n249=6740 n250=6752 n251=7012 n252=7016 n253=7024 n254=7032 n255=7036 n256=7052 n257=7056 n258=7064 n259=7104 n260=7120 n261=7124 n262=7132 n263=7136 n264=7140 n265=7152 n266=7156 n267=7160 n268=7164 n269=7204 n270=7216 n271=7236 n272=7240 n273=7256 n274=7260 n275=7264 n276=7304 n277=7312 n278=7316 n279=7320 n280=7324 n281=7340 n282=7352 n283=7356 n284=7360 n285=7364 n286=7412 n287=7416 n288=7420 n289=7432 n290=7436 n291=7452 n292=7456 n293=7460 n294=7504 n295=7512 n296=7516 n297=7520 n298=7524 n299=7532 n300=7536 n301=7540 n302=7560 n303=7564 n304=7604 n305=7612 n306=7620 n307=7624 n308=7632 n309=7640 n310=7652  n=310

Did you find an error or inaccuracy? Feel free to write us. Thank you!

Tips for related online calculators
Our percentage calculator will help you quickly calculate various typical tasks with percentages.
See also our permutations calculator.
See also our variations calculator.
Would you like to compute the count of combinations?

Related math problems and questions: