editing
approved
editing
approved
Numbers that contain only the digits 0,4,8. Permutable multiples of 4: numbers k such that every permutation of the digits of k is a multiple of 4.
Also permutable multiples of 4: numbers k such that contain only every permutation of the digits 0,of k is a multiple of 4,8.
proposed
editing
editing
proposed
(PARI) a(n) = fromdigits(digits(n, 3))*4 \\ Rémy Sigrist, May 05 2021
proposed
editing
editing
proposed
FromDigits /@ Tuples[{0, 4, 8}, 4] (* Amiram Eldar, Apr 30 2021 *)
proposed
editing
editing
proposed
f:= proc(n) local L, i;
L:= convert(n, base, 3);
4*add(L[i]*10^(i-1), i=1..nops(L))
end proc:
map(f, [$0..100]); # Robert Israel, Apr 30 2021
Permutable multiples of 4 : numbers k such that every permutation of the digits of 4*r k is a multiple of 4*s.
proposed
editing
editing
proposed