A353736 Number of n-digit terms in A353007.
5, 21, 122, 765, 5000, 34581, 249152, 1843485, 14184320, 111117141, 890892032, 7338139005, 60554071040, 518102719701, 4409318285312, 38356828343325, 341939662684160, 2933245707834261, 28085287524564992, 229163829314312445, 2425706018857287680, 18151248585662332821
Offset: 1
Examples
There are five 1-digit terms in A353007: 0, 2, 4, 6, 8. Thus, a(1) = 5.
Links
- Michael S. Branicky, Table of n, a(n) for n = 1..1002
Programs
-
Python
def isA353007(n): digits = list(map(int, str(n))) return all(digits.count(d)%2 != d%2 for d in set(digits)) def a(n): start = 0 if n == 1 else 10**(n-1) return sum(1 for i in range(start, 10**n) if isA353007(i)) print([a(n) for n in range(1, 7)]) # Michael S. Branicky, May 06 2022
Comments