OFFSET
1,2
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
196 + 1 + 9 + 6 = 212, so 212 is in this sequence.
MATHEMATICA
palQ[n_] := Block[{d = IntegerDigits[n]}, Reverse[d] == d]; Select[ Union[(# + Plus @@ IntegerDigits@#) & /@ Range[0, 600]], # <= 600 && palQ[#] &] (* Giovanni Resta, Feb 07 2020 *)
PROG
(Magma) pal:=func<n|Seqint(Intseq(n)) eq Seqint(Reverse(Intseq(n)))>; [k:k in [0..600]| pal(k) and exists(m){s:s in [0..k]| s+&+Intseq(s) eq k}]; // Marius A. Burtea, Feb 08 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Fox, Feb 07 2020
EXTENSIONS
More terms from Giovanni Resta, Feb 07 2020
STATUS
approved