Show solutionHide solution
A passcode has 5 positions, and each position may be filled by either a digit or a letter.
There are 10 digits: \(0,1,2,\dots,9\).
There are 26 letters: \(A,B,C,\dots,Z\).
So each position has \(10+26=36\) possible characters. Since repetition is allowed (for example, \(38098\) and \(003AZ\) both use repeated digits), the choices at each position are independent.
Therefore the number of possible passcodes is
\[36\times36\times36\times36\times36=36^5.\]Now compute exactly:
\[36^2=1296,\]\[36^3=1296\times36=46656,\]\[36^4=46656\times36=1679616,\]\[36^5=1679616\times36=60466176.\]Hence the digital locker can have
\[\boxed{60{,}466{,}176}\]different passcodes of length 5.