OFFSET
1,1
LINKS
EXAMPLE
5 is a term since its factorial-base representation, 21, has one odd digit, 1, and one even digit, 2.
MATHEMATICA
max = 7; fctBaseDigits[n_] := IntegerDigits[n, MixedRadix[Range[max, 2, -1]]]; Select[Range[1, max!], EvenQ[Length[(d = fctBaseDigits[#])]] && Count[d, _?EvenQ] == Length[d]/2 &]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Feb 24 2022
STATUS
approved