Untitled

 avatar
user_8840555
plain_text
a year ago
208 B
0
Indexable
Never
from itertools import *

c = 0
for i in product('0123456789ABCDE', repeat=6):
    s = ''.join(i)
    if s.count('0') > 2 and s[-1] == '9' and '23' not in s and s[0] != '0':
        c += 1
print(oct(c))