OFFSET
1,2
COMMENTS
Binomial coefficient predictors in both bases 2 and 5 (for definition, see paper in link).
LINKS
V. Shevelev, Binomial Coefficient Predictors, Journal of Integer Sequences, Vol. 14 (2011), Article 11.2.8.
MATHEMATICA
aQ[n_]:= DigitCount[n, 2, 0] < 2 && Module[{d=IntegerDigits[n, 5]}, s=Select[d, #!=4 &]; s=={} || s =={3} || (d[[1]]<3 && s=={d[[1]]})]; Select[Range[100000], aQ] (* Amiram Eldar, Dec 14 2018 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Vladimir Shevelev, Apr 03 2011
STATUS
approved