A045639 Palindromic and divisible by 4.
0, 4, 8, 44, 88, 212, 232, 252, 272, 292, 404, 424, 444, 464, 484, 616, 636, 656, 676, 696, 808, 828, 848, 868, 888, 2112, 2332, 2552, 2772, 2992, 4004, 4224, 4444, 4664, 4884, 6116, 6336, 6556, 6776, 6996, 8008, 8228, 8448, 8668, 8888, 21012, 21112, 21212
Offset: 1
Links
- Paolo Xausa, Table of n, a(n) for n = 1..3000
Crossrefs
Programs
-
Mathematica
palQ[n_]:=Module[{idn=IntegerDigits[n]},idn==Reverse[idn]]; Select[4*Range[0, 6000],palQ] (* Harvey P. Dale, Jan 30 2011 *)
Extensions
Edited to include a(1) = 0 by Paolo Xausa, Jul 07 2025