OFFSET
1,1
LINKS
Paul Tek, Table of n, a(n) for n = 1..10000
EXAMPLE
a(7) = 28 because among the multiples of 7, that is, 7, 14, 21, 28,... 28 is the smallest multiple with only even digits.
MATHEMATICA
Table[k = n; While[Length[Intersection[{1, 3, 5, 7, 9}, IntegerDigits[k]]] > 0, k = k + n]; k, {n, 100}] (* T. D. Noe, Jun 03 2013 *)
spme[n_]:=Module[{k=1}, While[AnyTrue[IntegerDigits[k*n], OddQ], k++]; k*n]; Array[spme, 70] (* Harvey P. Dale, Mar 19 2024 *)
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Amarnath Murthy, May 28 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), May 29 2001
STATUS
approved