The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A343810 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. 1
 0, 4, 8, 40, 44, 48, 80, 84, 88, 400, 404, 408, 440, 444, 448, 480, 484, 488, 800, 804, 808, 840, 844, 848, 880, 884, 888, 4000, 4004, 4008, 4040, 4044, 4048, 4080, 4084, 4088, 4400, 4404, 4408, 4440, 4444, 4448, 4480, 4484, 4488, 4800, 4804 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Also permutable multiples of 4: numbers k such that every permutation of the digits of k is a multiple of 4. LINKS Table of n, a(n) for n=0..46. FORMULA a(n) = 4*A007089(n). EXAMPLE 480 = 4*120, 408 = 4*102, 840 = 4*210, 804 = 4*201, 048 = 4*12, 084 = 4*21. MAPLE 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 MATHEMATICA FromDigits /@ Tuples[{0, 4, 8}, 4] (* Amiram Eldar, Apr 30 2021 *) PROG (PARI) a(n) = fromdigits(digits(n, 3))*4 \\ Rémy Sigrist, May 05 2021 CROSSREFS Cf. A003459, A007089, A008585, A008586, A014263, A061811, A169964. Sequence in context: A195677 A062753 A062898 * A165458 A009335 A303566 Adjacent sequences: A343807 A343808 A343809 * A343811 A343812 A343813 KEYWORD nonn,base,easy AUTHOR Ctibor O. Zizka, Apr 30 2021 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 5 11:42 EDT 2023. Contains 363136 sequences. (Running on oeis4.)