OFFSET
1,2
LINKS
FORMULA
For n >= 2, a(A305826(n)+1) = 2*10^n+88. - Robert Israel, Jun 10 2018
EXAMPLE
648 = 9*72 is a term having all even digits.
MAPLE
f:= proc(k) local L, t;
L:= convert(k, base, 5);
t:= 2*add(L[i]*10^(i-1), i=1..nops(L));
if t mod 9 = 0 then t fi
end proc:
map(f, [$0..1000]); # Robert Israel, Jun 10 2018
MATHEMATICA
Select[9*Range[0, 700], AllTrue[IntegerDigits[#], EvenQ] &] (* Harvey P. Dale, Aug 07 2021 *)
PROG
(PARI) is(n)=n%9==0 && #setintersect(Set(digits(n)), [1, 3, 5, 7, 9])==0 \\ Charles R Greathouse IV, Feb 15 2017
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, May 29 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), May 30 2001
Offset corrected by Charles R Greathouse IV, Feb 15 2017
Missing term 2880 inserted by Robert Israel, Jun 10 2018
STATUS
approved