login
Palindromic and divisible by 8.
9

%I #23 Jul 07 2025 04:02:34

%S 0,8,88,232,272,424,464,616,656,696,808,848,888,2112,2552,2992,4224,

%T 4664,6336,6776,8008,8448,8888,21112,21312,21512,21712,21912,23032,

%U 23232,23432,23632,23832,25152,25352,25552,25752,25952,27072,27272,27472

%N Palindromic and divisible by 8.

%H Paolo Xausa, <a href="/A045643/b045643.txt">Table of n, a(n) for n = 1..2000</a>

%t palQ[n_]:=Module[{idn=IntegerDigits[n]},idn==Reverse[idn]];Select[ 8Range[0,3500],palQ] (* _Harvey P. Dale_, Jun 06 2011 *)

%t Select[8*Range[0, 3500],PalindromeQ] (* _Harvey P. Dale_, Feb 17 2023 *)

%Y Intersection of A002113 and A008590.

%Y Cf. A029951, A045638, A045639, A043040, A043041, A045642, A045644, A083852.

%K nonn,base

%O 1,2

%A _Jeff Burch_

%E Edited to include a(1) = 0 by _Paolo Xausa_, Jul 07 2025