login
Palindromic numbers with even digits.
2

%I #14 Aug 03 2014 14:37:22

%S 0,2,4,6,8,22,44,66,88,202,222,242,262,282,404,424,444,464,484,606,

%T 626,646,666,686,808,828,848,868,888,2002,2222,2442,2662,2882,4004,

%U 4224,4444,4664,4884,6006,6226,6446,6666,6886,8008,8228,8448,8668

%N Palindromic numbers with even digits.

%C Any of these numbers divided by 2 is also palindromic. - Giovanni Teofilatto, Feb 23 2012

%H Vincenzo Librandi, <a href="/A062287/b062287.txt">Table of n, a(n) for n = 1..1200</a>

%e 246848642 is a palindrome with all even digits hence is a member of this sequence.

%t palindromicQ[n_, b_:10] := TrueQ[IntegerDigits[n, b] == Reverse[IntegerDigits[n, b]]]; Select[Range[2, 10^4, 2], palindromicQ[#] && Plus@@Drop[DigitCount[#], {2, 10, 2}] == 0 &] (* _Alonso del Arte_, Feb 23 2012 *)

%Y Subsequence of A002113.

%K nonn,base,easy

%O 1,2

%A _Amarnath Murthy_, Jun 18 2001

%E Corrected and extended by _Dean Hickerson_, Jul 10, 2001