OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..20477 (terms below 10!)
EXAMPLE
7 is a term since its factorial-base representation is 101 and the parities of its digits are odd, even, odd.
MATHEMATICA
max = 7; q[n_] := AllTrue[Differences@ Mod[IntegerDigits[n, MixedRadix[Range[max, 2, -1]]], 2], # != 0 &]; Select[Range[0, 1000], q]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Feb 24 2022
STATUS
approved