A043022 Base-8 palindromes that start with 2.
2, 18, 130, 138, 146, 154, 162, 170, 178, 186, 1026, 1098, 1170, 1242, 1314, 1386, 1458, 1530, 8194, 8258, 8322, 8386, 8450, 8514, 8578, 8642, 8714, 8778, 8842, 8906, 8970, 9034, 9098, 9162, 9234, 9298, 9362, 9426, 9490
Offset: 1
Programs
-
Mathematica
Select[Range[10000],IntegerDigits[#,8]==Reverse[IntegerDigits[#,8]]&&IntegerDigits[#,8][[1]]==2&] (* Harvey P. Dale, Dec 17 2023 *)
Formula
a(n) = 8*A043066(n) - 6.