|
|
A061831
|
|
Multiples of 9 having only even digits.
|
|
3
|
|
|
0, 288, 468, 486, 648, 666, 684, 828, 846, 864, 882, 2088, 2268, 2286, 2448, 2466, 2484, 2628, 2646, 2664, 2682, 2808, 2826, 2844, 2862, 2880, 4068, 4086, 4248, 4266, 4284, 4428, 4446, 4464, 4482, 4608, 4626, 4644, 4662, 4680, 4806, 4824, 4842, 4860, 6048, 6066
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
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:
|
|
MATHEMATICA
|
Select[9*Range[0, 700], AllTrue[IntegerDigits[#], EvenQ] &] (* Harvey P. Dale, Aug 07 2021 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Corrected and extended by Larry Reeves (larryr(AT)acm.org), May 30 2001
|
|
STATUS
|
approved
|
|
|
|