OFFSET
1,1
LINKS
Paul Tek, Table of n, a(n) for n = 1..10000
EXAMPLE
a(7)=4 as among the multiples of 7 i.e. 7,14,21,28 28 is the smallest multiple with only even digits and a(7)= 28/7 = 4.
MATHEMATICA
Table[k = n; While[Length[Intersection[{1, 3, 5, 7, 9}, IntegerDigits[k]]] > 0, k = k + n]; k/n, {n, 100}] (* T. D. Noe, Jun 03 2013 *)
sk[n_]:=Module[{k=1}, While[!AllTrue[IntegerDigits[k*n], EvenQ], k++]; k]; Array[sk, 100] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Mar 27 2015 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Dec 29 2001
EXTENSIONS
More terms from Eli McGowan (ejmcgowa(AT)mail.lakeheadu.ca), May 06 2002
Data corrected by Paul Tek, Jun 03 2013
STATUS
approved