OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(6n-6+k) = 10 a(n) + a(k) for k = 1..6. - Robert Israel, Aug 24 2016
MAPLE
S:= [0]:
for d from 1 to 4 do S:= map(t -> seq(10*t+i, i=[0, 2, 4, 6, 8, 9]), S) od:
S; # Robert Israel, Aug 24 2016
MATHEMATICA
Select[Select[Select[Select[Range[0, 400], FreeQ[IntegerDigits@#, 1] &], FreeQ[IntegerDigits@#, 3] &], FreeQ[IntegerDigits@#, 5] &], FreeQ[IntegerDigits@#, 7] &]
PROG
(Magma) [n: n in [0..500] | IsEmpty(Set([1, 3, 5, 7]) meet Set(Intseq(n)))];
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Vincenzo Librandi, Aug 22 2016
STATUS
approved